#98AD2D

Closest named color: Avocado (#90B134). oklch(70.8% 0.149 118.6), rgb(152, 173, 45).

Aa

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

About this color

#98AD2D is a medium-light, vivid yellow. In OKLCH its lightness is 71%, its chroma 0.149 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado (#90B134), ΔE 0.013 away. Black text reads best on it, at 8.35:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromavivid (0.149)
Temperaturein between
Nearest nameAvocado (#90B134)
Black text8.35:1
White text2.51:1

Values

HEX#98AD2D
RGBrgb(152, 173, 45)
HSLhsl(70, 59%, 43%)
OKLCHoklch(70.8% 0.149 118.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 #98AD2D 2.51:1 Fails Lc -54.3 Large or bold text, headings
Black text on #98AD2D 8.35:1 AAA Lc 54.8 Large or bold text, headings
#98AD2D text on white 2.51:1 Fails Lc 49.2 Large or bold text, headings
#98AD2D text on black 8.35:1 AAA Lc -52.8 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

    #D5DEB8

    oklch(88.4% 0.052 118.3)

  4. Step 300

    300

    #BAC984

    oklch(80.8% 0.093 118.5)

  5. Step 400

    400 (this color)

    #98AD2D

    oklch(70.8% 0.149 118.6)

  6. Step 500

    500

    #819500

    oklch(63.2% 0.148 118.8)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4700

    oklch(37.6% 0.088 118.5)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#98AD2D 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)#B9A3130.050
Deuteranopia (no green cones)#B6A4380.051
Tritanopia (no blue cones)#A1A3950.130
Achromatopsia (no color)#A3A3A30.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #98AD2D

    #98AD2D

    oklch(70.8% 0.149 118.6)

  • #AE8AF1

    #AE8AF1

    oklch(70.9% 0.15 298.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #98AD2D

    #98AD2D

    oklch(70.8% 0.149 118.6)

  • #C69B00

    #C69B00

    oklch(70.9% 0.145 88.7)

  • #53BA6A

    #53BA6A

    oklch(70.8% 0.15 148.6)

Open the analogous palette in the generator

Split complementary

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

  • #98AD2D

    #98AD2D

    oklch(70.8% 0.149 118.6)

  • #7A9BFE

    #7A9BFE

    oklch(70.8% 0.15 268.5)

  • #D37CCF

    #D37CCF

    oklch(70.8% 0.15 328.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #98AD2D

    #98AD2D

    oklch(70.8% 0.149 118.6)

  • #24ACF3

    #24ACF3

    oklch(70.8% 0.15 238.6)

  • #E9759F

    #E9759F

    oklch(70.7% 0.15 358.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #98AD2D

    #98AD2D

    oklch(70.8% 0.149 118.6)

  • #00B5C9

    #00B5C9

    oklch(70.8% 0.122 208.7)

  • #AE8AF1

    #AE8AF1

    oklch(70.9% 0.15 298.6)

  • #F0786A

    #F0786A

    oklch(70.8% 0.15 28.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #98AD2D 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.