#98AA31

Closest named color: Pea Soup Green (#94A617). oklch(70.1% 0.143 117.6), rgb(152, 170, 49).

Aa

Black text reads best on this color (8.12:1).

About this color

#98AA31 is a medium-light, vivid yellow. In OKLCH its lightness is 70%, its chroma 0.143 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup Green (#94A617), ΔE 0.017 away. Black text reads best on it, at 8.12:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromavivid (0.143)
Temperaturein between
Nearest namePea Soup Green (#94A617)
Black text8.12:1
White text2.58:1

Values

HEX#98AA31
RGBrgb(152, 170, 49)
HSLhsl(69, 55%, 43%)
OKLCHoklch(70.1% 0.143 117.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #98AA31 2.58:1 Fails Lc -55.5 Large or bold text, headings
Black text on #98AA31 8.12:1 AAA Lc 53.6 Large or bold text, headings
#98AA31 text on white 2.58:1 Fails Lc 50.4 Large or bold text, headings
#98AA31 text on black 8.12:1 AAA Lc -51.5 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #F4F7EE

    oklch(97.1% 0.012 121.7)

  2. Step 100

    100

    #E8EDD9

    oklch(93.7% 0.027 118.3)

  3. Step 200

    200

    #D6DEB9

    oklch(88.5% 0.05 117.3)

  4. Step 300

    300

    #BBC986

    oklch(80.9% 0.09 118.1)

  5. Step 400

    400 (this color)

    #98AA31

    oklch(70.1% 0.143 117.6)

  6. Step 500

    500

    #839400

    oklch(63.1% 0.146 117.6)

  7. Step 600

    600

    #6E7C00

    oklch(55.5% 0.128 117.3)

  8. Step 700

    700

    #5C6800

    oklch(49% 0.113 117.4)

  9. Step 800

    800

    #4B5500

    oklch(42.6% 0.098 117.3)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#98AA31 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#B5A11C0.044
Deuteranopia (no green cones)#B4A23B0.048
Tritanopia (no blue cones)#A1A1920.123
Achromatopsia (no color)#A1A1A10.144

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #98AA31

    #98AA31

    oklch(70.1% 0.143 117.6)

  • #AA8AEC

    #AA8AEC

    oklch(70.2% 0.143 297.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #98AA31

    #98AA31

    oklch(70.1% 0.143 117.6)

  • #C49800

    #C49800

    oklch(70.1% 0.143 87.8)

  • #58B769

    #58B769

    oklch(70.2% 0.144 147.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #98AA31

    #98AA31

    oklch(70.1% 0.143 117.6)

  • #789AF8

    #789AF8

    oklch(70.2% 0.143 267.6)

  • #CE7CCC

    #CE7CCC

    oklch(70.1% 0.144 327.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #98AA31

    #98AA31

    oklch(70.1% 0.143 117.6)

  • #29AAED

    #29AAED

    oklch(70.2% 0.144 237.8)

  • #E4769F

    #E4769F

    oklch(70.2% 0.143 357.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #98AA31

    #98AA31

    oklch(70.1% 0.143 117.6)

  • #00B3C5

    #00B3C5

    oklch(70.1% 0.12 207.5)

  • #AA8AEC

    #AA8AEC

    oklch(70.2% 0.143 297.7)

  • #EB786C

    #EB786C

    oklch(70.2% 0.144 27.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #98AA31, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #98AA31 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.