#766A02

Closest named color: Brown Green (#706C11). oklch(51.9% 0.108 101.5), rgb(118, 106, 2).

Aa

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

About this color

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

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

Values

HEX#766A02
RGBrgb(118, 106, 2)
HSLhsl(54, 97%, 24%)
OKLCHoklch(51.9% 0.108 101.5)

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 #766A02 5.47:1 AA Lc -82.5 Fine for body text
Black text on #766A02 3.83:1 AA large text Lc 26.9 Dividers and decoration only
#766A02 text on white 5.47:1 AA Lc 77.2 Fine for body text
#766A02 text on black 3.83:1 AA large text Lc -24.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 700.

  1. Step 50

    50

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DDDAC5

    oklch(88.5% 0.028 100.3)

  4. Step 300

    300

    #C7C29C

    oklch(80.8% 0.051 101.2)

  5. Step 400

    400

    #ABA364

    oklch(70.8% 0.084 102)

  6. Step 500

    500

    #978B36

    oklch(63% 0.106 101.3)

  7. Step 600

    600

    #827501

    oklch(55.7% 0.116 101.6)

  8. Step 700

    700 (this color)

    #766A02

    oklch(51.9% 0.108 101.5)

  9. Step 800

    800

    #595000

    oklch(42.7% 0.089 102)

  10. Step 900

    900

    #49420F

    oklch(37.5% 0.069 101.3)

  11. Step 950

    950

    #2B270B

    oklch(27% 0.044 101.2)

Export this scale for Tailwind in the Tailwind colors tool

#766A02 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)#7566000.012
Deuteranopia (no green cones)#796B0F0.008
Tritanopia (no blue cones)#8061590.099
Achromatopsia (no color)#6969690.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #766A02

    #766A02

    oklch(51.9% 0.108 101.5)

  • #5F60A5

    #5F60A5

    oklch(52% 0.108 281.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #766A02

    #766A02

    oklch(51.9% 0.108 101.5)

  • #8F5D0A

    #8F5D0A

    oklch(52.1% 0.108 71.8)

  • #51752E

    #51752E

    oklch(51.9% 0.108 131.7)

Open the analogous palette in the generator

Split complementary

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

  • #766A02

    #766A02

    oklch(51.9% 0.108 101.5)

  • #356BA5

    #356BA5

    oklch(51.9% 0.109 252.1)

  • #7D5596

    #7D5596

    oklch(51.9% 0.108 311.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #766A02

    #766A02

    oklch(51.9% 0.108 101.5)

  • #007490

    #007490

    oklch(51.8% 0.096 222.3)

  • #924E7B

    #924E7B

    oklch(52% 0.108 341.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #766A02

    #766A02

    oklch(51.9% 0.108 101.5)

  • #007976

    #007976

    oklch(52% 0.089 191.7)

  • #5F60A5

    #5F60A5

    oklch(52% 0.108 281.4)

  • #9C4C59

    #9C4C59

    oklch(51.9% 0.107 11.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #766A02 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.