#8A9E1B

Closest named color: Pea Soup (#929901). oklch(66.1% 0.147 118.6), rgb(138, 158, 27).

Aa

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

About this color

#8A9E1B is a medium-light, vivid yellow. In OKLCH its lightness is 66%, its chroma 0.147 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.016 away. Black text reads best on it, at 6.98:1.

Hue familyYellows
Lightnessmedium-light (66%)
Chromavivid (0.147)
Temperaturein between
Nearest namePea Soup (#929901)
Black text6.98:1
White text3.00:1

Values

HEX#8A9E1B
RGBrgb(138, 158, 27)
HSLhsl(69, 71%, 36%)
OKLCHoklch(66.1% 0.147 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 #8A9E1B 3.00:1 AA large text Lc -62.0 Content text, not long reading
Black text on #8A9E1B 6.98:1 AA Lc 47.5 Large or bold text, headings
#8A9E1B text on white 3.00:1 AA large text Lc 56.6 Large or bold text, headings
#8A9E1B text on black 6.98:1 AA Lc -45.2 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 500.

  1. Step 50

    50

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #E8ECDD

    oklch(93.6% 0.02 118.9)

  3. Step 200

    200

    #D6DDC0

    oklch(88.4% 0.04 118.2)

  4. Step 300

    300

    #BBC893

    oklch(80.9% 0.073 119.2)

  5. Step 400

    400

    #99AA53

    oklch(70.6% 0.114 118.6)

  6. Step 500

    500 (this color)

    #8A9E1B

    oklch(66.1% 0.147 118.6)

  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

    #242A02

    oklch(27% 0.06 117.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A9E1B 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)#A995000.048
Deuteranopia (no green cones)#A795290.051
Tritanopia (no blue cones)#9395870.127
Achromatopsia (no color)#9595950.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A9E1B

    #8A9E1B

    oklch(66.1% 0.147 118.6)

  • #9F7CDF

    #9F7CDF

    oklch(66.1% 0.146 298.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A9E1B

    #8A9E1B

    oklch(66.1% 0.147 118.6)

  • #B48D00

    #B48D00

    oklch(66.2% 0.135 88.9)

  • #45AA5D

    #45AA5D

    oklch(66% 0.147 148.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A9E1B

    #8A9E1B

    oklch(66.1% 0.147 118.6)

  • #6D8CEC

    #6D8CEC

    oklch(66% 0.147 268.7)

  • #C26FBF

    #C26FBF

    oklch(66.1% 0.146 328.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A9E1B

    #8A9E1B

    oklch(66.1% 0.147 118.6)

  • #079DE1

    #079DE1

    oklch(66.1% 0.146 238.3)

  • #D86891

    #D86891

    oklch(66.2% 0.147 358.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A9E1B

    #8A9E1B

    oklch(66.1% 0.147 118.6)

  • #00A5B7

    #00A5B7

    oklch(66.1% 0.114 208.4)

  • #9F7CDF

    #9F7CDF

    oklch(66.1% 0.146 298.6)

  • #DE6B5D

    #DE6B5D

    oklch(66.2% 0.147 28.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8A9E1B 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.