#7C9F0A

Closest named color: Leaf (#71AA34). oklch(65.2% 0.16 124), rgb(124, 159, 10).

Aa

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

About this color

#7C9F0A is a medium-light, vivid yellow. In OKLCH its lightness is 65%, its chroma 0.160 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Leaf (#71AA34), ΔE 0.031 away. Black text reads best on it, at 6.82:1.

Hue familyYellows
Lightnessmedium-light (65%)
Chromavivid (0.160)
Temperaturein between
Nearest nameLeaf (#71AA34)
Black text6.82:1
White text3.07:1

Values

HEX#7C9F0A
RGBrgb(124, 159, 10)
HSLhsl(74, 88%, 33%)
OKLCHoklch(65.2% 0.16 124)

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 #7C9F0A 3.07:1 AA large text Lc -62.9 Content text, not long reading
Black text on #7C9F0A 6.82:1 AA Lc 46.6 Large or bold text, headings
#7C9F0A text on white 3.07:1 AA large text Lc 57.5 Large or bold text, headings
#7C9F0A text on black 6.82:1 AA Lc -44.3 Non-text elements, placeholder text

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

    #F4F7EF

    oklch(97.2% 0.011 123.5)

  2. Step 100

    100

    #E6EDDC

    oklch(93.6% 0.024 125.2)

  3. Step 200

    200

    #D3DEBF

    oklch(88.4% 0.043 123.2)

  4. Step 300

    300

    #B6CA92

    oklch(81% 0.078 124.1)

  5. Step 400

    400

    #90AE51

    oklch(70.8% 0.125 124.4)

  6. Step 500

    500 (this color)

    #7C9F0A

    oklch(65.2% 0.16 124)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #435800

    oklch(42.7% 0.106 124.1)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #202B01

    oklch(26.9% 0.065 123.5)

Export this scale for Tailwind in the Tailwind colors tool

#7C9F0A 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)#A994000.069
Deuteranopia (no green cones)#A493210.067
Tritanopia (no blue cones)#8397870.131
Achromatopsia (no color)#9393930.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C9F0A

    #7C9F0A

    oklch(65.2% 0.16 124)

  • #A574DE

    #A574DE

    oklch(65.3% 0.159 303.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C9F0A

    #7C9F0A

    oklch(65.2% 0.16 124)

  • #AB8D00

    #AB8D00

    oklch(65.2% 0.134 93.7)

  • #16AB61

    #16AB61

    oklch(65.3% 0.159 154.1)

Open the analogous palette in the generator

Split complementary

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

  • #7C9F0A

    #7C9F0A

    oklch(65.2% 0.16 124)

  • #7385F0

    #7385F0

    oklch(65.3% 0.16 274)

  • #C866B8

    #C866B8

    oklch(65.2% 0.16 333.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C9F0A

    #7C9F0A

    oklch(65.2% 0.16 124)

  • #0697E9

    #0697E9

    oklch(65.2% 0.16 244.1)

  • #DC6085

    #DC6085

    oklch(65.3% 0.159 3.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C9F0A

    #7C9F0A

    oklch(65.2% 0.16 124)

  • #00A1BA

    #00A1BA

    oklch(65.2% 0.115 213.9)

  • #A574DE

    #A574DE

    oklch(65.3% 0.159 303.7)

  • #E0654A

    #E0654A

    oklch(65.3% 0.16 33.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7C9F0A 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.