#7B7937

Closest named color: Military Green (#667C3E). oklch(56.3% 0.088 107.3), rgb(123, 121, 55).

Aa

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

About this color

#7B7937 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.088 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Military Green (#667C3E), ΔE 0.030 away. Black text reads best on it, at 4.63:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameMilitary Green (#667C3E)
Black text4.63:1
White text4.53:1

Values

HEX#7B7937
RGBrgb(123, 121, 55)
HSLhsl(58, 38%, 35%)
OKLCHoklch(56.3% 0.088 107.3)

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 #7B7937 4.53:1 AA Lc -76.9 Fine for body text
Black text on #7B7937 4.63:1 AA Lc 32.6 Non-text elements, placeholder text
#7B7937 text on white 4.53:1 AA Lc 71.4 Content text, not long reading
#7B7937 text on black 4.63:1 AA Lc -30.2 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 600.

  1. Step 50

    50

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EAEAE2

    oklch(93.5% 0.011 106.6)

  3. Step 200

    200

    #DADACA

    oklch(88.4% 0.022 106.8)

  4. Step 300

    300

    #C3C3A6

    oklch(80.9% 0.039 107.2)

  5. Step 400

    400

    #A4A476

    oklch(70.7% 0.063 107.9)

  6. Step 500

    500

    #8F8D51

    oklch(63.1% 0.081 106.8)

  7. Step 600

    600 (this color)

    #7B7937

    oklch(56.3% 0.088 107.3)

  8. Step 700

    700

    #666427

    oklch(49.2% 0.082 107.3)

  9. Step 800

    800

    #535222

    oklch(42.8% 0.068 107.9)

  10. Step 900

    900

    #454421

    oklch(37.9% 0.053 107.2)

  11. Step 950

    950

    #282814

    oklch(27.1% 0.034 108.5)

Export this scale for Tailwind in the Tailwind colors tool

#7B7937 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)#8275310.014
Deuteranopia (no green cones)#83773A0.015
Tritanopia (no blue cones)#83726A0.079
Achromatopsia (no color)#7676760.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B7937

    #7B7937

    oklch(56.3% 0.088 107.3)

  • #726DA7

    #726DA7

    oklch(56.3% 0.089 287.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B7937

    #7B7937

    oklch(56.3% 0.088 107.3)

  • #926E34

    #926E34

    oklch(56.2% 0.088 77.2)

  • #5C824D

    #5C824D

    oklch(56.4% 0.089 137.2)

Open the analogous palette in the generator

Split complementary

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

  • #7B7937

    #7B7937

    oklch(56.3% 0.088 107.3)

  • #5477A9

    #5477A9

    oklch(56.4% 0.088 257.3)

  • #8B6598

    #8B6598

    oklch(56.5% 0.088 317.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B7937

    #7B7937

    oklch(56.3% 0.088 107.3)

  • #327F9E

    #327F9E

    oklch(56.2% 0.088 228.2)

  • #9B5F7F

    #9B5F7F

    oklch(56.2% 0.089 347.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B7937

    #7B7937

    oklch(56.3% 0.088 107.3)

  • #1F8587

    #1F8587

    oklch(56.3% 0.088 197)

  • #726DA7

    #726DA7

    oklch(56.3% 0.089 287.1)

  • #A35F62

    #A35F62

    oklch(56.3% 0.089 17.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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