#98AB42

Closest named color: Avocado (#90B134). oklch(70.5% 0.132 118.6), rgb(152, 171, 66).

Aa

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

About this color

#98AB42 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 71%, its chroma 0.132 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.025 away. Black text reads best on it, at 8.23:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameAvocado (#90B134)
Black text8.23:1
White text2.54:1

Values

HEX#98AB42
RGBrgb(152, 171, 66)
HSLhsl(71, 44%, 46%)
OKLCHoklch(70.5% 0.132 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 #98AB42 2.54:1 Fails Lc -54.9 Large or bold text, headings
Black text on #98AB42 8.23:1 AAA Lc 54.2 Large or bold text, headings
#98AB42 text on white 2.54:1 Fails Lc 49.8 Large or bold text, headings
#98AB42 text on black 8.23:1 AAA Lc -52.1 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

    #E8ECDB

    oklch(93.5% 0.023 117.6)

  3. Step 200

    200

    #D6DEBC

    oklch(88.6% 0.046 118.1)

  4. Step 300

    300

    #BBC98C

    oklch(81% 0.083 118.8)

  5. Step 400

    400 (this color)

    #98AB42

    oklch(70.5% 0.132 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

#98AB42 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)#B6A2360.046
Deuteranopia (no green cones)#B3A3490.046
Tritanopia (no blue cones)#A0A2950.113
Achromatopsia (no color)#A2A2A20.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #98AB42

    #98AB42

    oklch(70.5% 0.132 118.6)

  • #AB8CE7

    #AB8CE7

    oklch(70.4% 0.133 298.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #98AB42

    #98AB42

    oklch(70.5% 0.132 118.6)

  • #C19B28

    #C19B28

    oklch(70.5% 0.132 89.2)

  • #5FB671

    #5FB671

    oklch(70.4% 0.131 148.8)

Open the analogous palette in the generator

Split complementary

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

  • #98AB42

    #98AB42

    oklch(70.5% 0.132 118.6)

  • #7E9BF2

    #7E9BF2

    oklch(70.4% 0.132 268.9)

  • #CC81C9

    #CC81C9

    oklch(70.5% 0.131 328.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #98AB42

    #98AB42

    oklch(70.5% 0.132 118.6)

  • #40AAE8

    #40AAE8

    oklch(70.4% 0.132 238.6)

  • #E17B9F

    #E17B9F

    oklch(70.6% 0.132 358.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #98AB42

    #98AB42

    oklch(70.5% 0.132 118.6)

  • #00B4C8

    #00B4C8

    oklch(70.5% 0.121 208.8)

  • #AB8CE7

    #AB8CE7

    oklch(70.4% 0.133 298.6)

  • #E67E70

    #E67E70

    oklch(70.5% 0.131 28.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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