#98AF15

Closest named color: Icky Green (#8FAE22). oklch(71.2% 0.162 118.9), rgb(152, 175, 21).

Aa

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

About this color

#98AF15 is a medium-light, vivid yellow. In OKLCH its lightness is 71%, its chroma 0.162 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Icky Green (#8FAE22), ΔE 0.013 away. Black text reads best on it, at 8.47:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromavivid (0.162)
Temperaturein between
Nearest nameIcky Green (#8FAE22)
Black text8.47:1
White text2.47:1

Values

HEX#98AF15
RGBrgb(152, 175, 21)
HSLhsl(69, 79%, 38%)
OKLCHoklch(71.2% 0.162 118.9)

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 #98AF15 2.47:1 Fails Lc -53.5 Large or bold text, headings
Black text on #98AF15 8.47:1 AAA Lc 55.5 Large or bold text, headings
#98AF15 text on white 2.47:1 Fails Lc 48.5 Large or bold text, headings
#98AF15 text on black 8.47:1 AAA Lc -53.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

    #F4F7ED

    oklch(97.1% 0.014 120.3)

  2. Step 100

    100

    #E7EDD7

    oklch(93.6% 0.03 119.4)

  3. Step 200

    200

    #D5DFB5

    oklch(88.5% 0.057 118.5)

  4. Step 300

    300

    #B9CA7E

    oklch(80.8% 0.101 119)

  5. Step 400

    400 (this color)

    #98AF15

    oklch(71.2% 0.162 118.9)

  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

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4800

    oklch(37.8% 0.089 119.1)

  11. Step 950

    950

    #232A00

    oklch(26.9% 0.063 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#98AF15 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)#BBA5000.054
Deuteranopia (no green cones)#B9A5290.057
Tritanopia (no blue cones)#A2A5950.139
Achromatopsia (no color)#A5A5A50.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #98AF15

    #98AF15

    oklch(71.2% 0.162 118.9)

  • #B188F8

    #B188F8

    oklch(71.2% 0.162 299.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #98AF15

    #98AF15

    oklch(71.2% 0.162 118.9)

  • #C79C00

    #C79C00

    oklch(71.3% 0.146 88.8)

  • #49BD66

    #49BD66

    oklch(71.2% 0.163 148.8)

Open the analogous palette in the generator

Split complementary

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

  • #98AF15

    #98AF15

    oklch(71.2% 0.162 118.9)

  • #7C9CFF

    #7C9CFF

    oklch(71.2% 0.149 268.9)

  • #D879D3

    #D879D3

    oklch(71.1% 0.163 329)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #98AF15

    #98AF15

    oklch(71.2% 0.162 118.9)

  • #00ADFA

    #00ADFA

    oklch(71.1% 0.16 239)

  • #F071A0

    #F071A0

    oklch(71.1% 0.163 358.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #98AF15

    #98AF15

    oklch(71.2% 0.162 118.9)

  • #00B6CB

    #00B6CB

    oklch(71.1% 0.123 209.3)

  • #B188F8

    #B188F8

    oklch(71.2% 0.162 299.1)

  • #F77565

    #F77565

    oklch(71.3% 0.163 28.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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