#796C27

Closest named color: Brown Green (#706C11). oklch(52.9% 0.09 98.6), rgb(121, 108, 39).

Aa

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

About this color

#796C27 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 53%, its chroma 0.090 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Green (#706C11), ΔE 0.023 away. White text reads best on it, at 5.26:1.

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.090)
Temperaturewarm
Nearest nameBrown Green (#706C11)
Black text3.98:1
White text5.26:1

Values

HEX#796C27
RGBrgb(121, 108, 39)
HSLhsl(50, 51%, 31%)
OKLCHoklch(52.9% 0.09 98.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 #796C27 5.26:1 AA Lc -81.4 Fine for body text
Black text on #796C27 3.98:1 AA large text Lc 28.0 Dividers and decoration only
#796C27 text on white 5.26:1 AA Lc 76.1 Fine for body text
#796C27 text on black 3.98:1 AA large text Lc -25.6 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 600.

  1. Step 50

    50

    #F6F5F1

    oklch(97% 0.005 95.1)

  2. Step 100

    100

    #ECEAE1

    oklch(93.6% 0.012 96.4)

  3. Step 200

    200

    #DDDAC9

    oklch(88.6% 0.023 98.7)

  4. Step 300

    300

    #C7C1A4

    oklch(80.8% 0.04 97.5)

  5. Step 400

    400

    #ABA273

    oklch(70.8% 0.065 98.6)

  6. Step 500

    500

    #968A4D

    oklch(63% 0.083 98.5)

  7. Step 600

    600 (this color)

    #796C27

    oklch(52.9% 0.09 98.6)

  8. Step 700

    700

    #6D6122

    oklch(49.1% 0.083 98.4)

  9. Step 800

    800

    #594F1E

    oklch(42.7% 0.069 97.8)

  10. Step 900

    900

    #49421E

    oklch(37.7% 0.054 98.5)

  11. Step 950

    950

    #2B2712

    oklch(27.1% 0.035 98.8)

Export this scale for Tailwind in the Tailwind colors tool

#796C27 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)#76691F0.011
Deuteranopia (no green cones)#7A6E2B0.006
Tritanopia (no blue cones)#82645E0.083
Achromatopsia (no color)#6C6C6C0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #796C27

    #796C27

    oklch(52.9% 0.09 98.6)

  • #60669F

    #60669F

    oklch(53% 0.09 278.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796C27

    #796C27

    oklch(52.9% 0.09 98.6)

  • #8D612C

    #8D612C

    oklch(52.9% 0.09 68.6)

  • #5C763B

    #5C763B

    oklch(53.1% 0.09 128.7)

Open the analogous palette in the generator

Split complementary

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

  • #796C27

    #796C27

    oklch(52.9% 0.09 98.6)

  • #3F6F9D

    #3F6F9D

    oklch(52.8% 0.09 248.9)

  • #7A5D93

    #7A5D93

    oklch(52.9% 0.089 308.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796C27

    #796C27

    oklch(52.9% 0.09 98.6)

  • #16788E

    #16788E

    oklch(53% 0.09 217.7)

  • #8D567D

    #8D567D

    oklch(52.8% 0.09 338.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796C27

    #796C27

    oklch(52.9% 0.09 98.6)

  • #0A7C76

    #0A7C76

    oklch(53% 0.09 188.8)

  • #60669F

    #60669F

    oklch(53% 0.09 278.3)

  • #975461

    #975461

    oklch(52.8% 0.09 8.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #796C27 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.