#7B9331

Closest named color: Dark Yellow Green (#728F02). oklch(62.5% 0.127 121.9), rgb(123, 147, 49).

Aa

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

About this color

#7B9331 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.127 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.029 away. Black text reads best on it, at 6.06:1.

Hue familyYellows
Lightnessmedium-light (62%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text6.06:1
White text3.46:1

Values

HEX#7B9331
RGBrgb(123, 147, 49)
HSLhsl(75, 50%, 38%)
OKLCHoklch(62.5% 0.127 121.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 #7B9331 3.46:1 AA large text Lc -67.6 Content text, not long reading
Black text on #7B9331 6.06:1 AA Lc 42.0 Non-text elements, placeholder text
#7B9331 text on white 3.46:1 AA large text Lc 62.1 Content text, not long reading
#7B9331 text on black 6.06:1 AA Lc -39.6 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

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D5DDC4

    oklch(88.5% 0.035 121.6)

  4. Step 300

    300

    #BAC79B

    oklch(80.8% 0.061 121.1)

  5. Step 400

    400

    #96AB63

    oklch(70.8% 0.1 122.3)

  6. Step 500

    500 (this color)

    #7B9331

    oklch(62.5% 0.127 121.9)

  7. Step 600

    600

    #677F00

    oklch(55.7% 0.135 121.9)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465700

    oklch(42.7% 0.103 121.8)

  10. Step 900

    900

    #3A480D

    oklch(37.7% 0.082 122.3)

  11. Step 950

    950

    #222A0A

    oklch(26.9% 0.052 121.9)

Export this scale for Tailwind in the Tailwind colors tool

#7B9331 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)#9C8A240.050
Deuteranopia (no green cones)#998A380.051
Tritanopia (no blue cones)#818C7F0.105
Achromatopsia (no color)#8A8A8A0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B9331

    #7B9331

    oklch(62.5% 0.127 121.9)

  • #9673C7

    #9673C7

    oklch(62.4% 0.128 302)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B9331

    #7B9331

    oklch(62.5% 0.127 121.9)

  • #A38406

    #A38406

    oklch(62.5% 0.126 92)

  • #429D60

    #429D60

    oklch(62.5% 0.127 151.8)

Open the analogous palette in the generator

Split complementary

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

  • #7B9331

    #7B9331

    oklch(62.5% 0.127 121.9)

  • #6D81D4

    #6D81D4

    oklch(62.4% 0.127 272)

  • #B369A9

    #B369A9

    oklch(62.4% 0.126 332)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B9331

    #7B9331

    oklch(62.5% 0.127 121.9)

  • #318FCD

    #318FCD

    oklch(62.4% 0.127 242.2)

  • #C46482

    #C46482

    oklch(62.4% 0.126 1.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B9331

    #7B9331

    oklch(62.5% 0.127 121.9)

  • #0098AD

    #0098AD

    oklch(62.4% 0.109 211.8)

  • #9673C7

    #9673C7

    oklch(62.4% 0.128 302)

  • #C86855

    #C86855

    oklch(62.5% 0.126 32.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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