#7A6808

Closest named color: Brown Green (#706C11). oklch(51.9% 0.104 96.8), rgb(122, 104, 8).

Aa

White text reads best on this color (5.51:1).

About this color

#7A6808 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 52%, its chroma 0.104 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Green (#706C11), ΔE 0.018 away. White text reads best on it, at 5.51:1.

Hue familyYellows
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.104)
Temperaturewarm
Nearest nameBrown Green (#706C11)
Black text3.81:1
White text5.51:1

Values

HEX#7A6808
RGBrgb(122, 104, 8)
HSLhsl(51, 88%, 25%)
OKLCHoklch(51.9% 0.104 96.8)

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 #7A6808 5.51:1 AA Lc -82.7 Fine for body text
Black text on #7A6808 3.81:1 AA large text Lc 26.7 Dividers and decoration only
#7A6808 text on white 5.51:1 AA Lc 77.4 Fine for body text
#7A6808 text on black 3.81:1 AA large text Lc -24.4 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DEDAC5

    oklch(88.6% 0.028 98.1)

  4. Step 300

    300

    #CAC19C

    oklch(80.9% 0.051 95.9)

  5. Step 400

    400

    #AFA165

    oklch(70.7% 0.081 96.6)

  6. Step 500

    500

    #9B8938

    oklch(63% 0.103 96.8)

  7. Step 600

    600

    #867308

    oklch(55.7% 0.113 97.3)

  8. Step 700

    700 (this color)

    #7A6808

    oklch(51.9% 0.104 96.8)

  9. Step 800

    800

    #5D4E03

    oklch(42.7% 0.086 96)

  10. Step 900

    900

    #4C4110

    oklch(37.6% 0.067 96.2)

  11. Step 950

    950

    #2C260C

    oklch(26.9% 0.042 96.4)

Export this scale for Tailwind in the Tailwind colors tool

#7A6808 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)#7465000.014
Deuteranopia (no green cones)#796B120.008
Tritanopia (no blue cones)#855F580.096
Achromatopsia (no color)#6969690.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A6808

    #7A6808

    oklch(51.9% 0.104 96.8)

  • #5A62A4

    #5A62A4

    oklch(52% 0.104 276.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A6808

    #7A6808

    oklch(51.9% 0.104 96.8)

  • #905B18

    #905B18

    oklch(51.9% 0.104 66.9)

  • #59732B

    #59732B

    oklch(51.9% 0.104 126.5)

Open the analogous palette in the generator

Split complementary

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

  • #7A6808

    #7A6808

    oklch(51.9% 0.104 96.8)

  • #2F6DA1

    #2F6DA1

    oklch(51.9% 0.104 246.9)

  • #785798

    #785798

    oklch(51.8% 0.106 306.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A6808

    #7A6808

    oklch(51.9% 0.104 96.8)

  • #00758B

    #00758B

    oklch(51.9% 0.093 216.9)

  • #8E507F

    #8E507F

    oklch(52% 0.104 336.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A6808

    #7A6808

    oklch(51.9% 0.104 96.8)

  • #007971

    #007971

    oklch(51.9% 0.091 186.8)

  • #5A62A4

    #5A62A4

    oklch(52% 0.104 276.9)

  • #9A4D5E

    #9A4D5E

    oklch(52% 0.104 7.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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