#766D1F#766D1F

#766D1F is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.8% C 0.097 H 102.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#766D1F
RGBrgb(118, 109, 31)
HSLhsl(54, 58%, 29%)
HSVhsv(54, 74%, 46%)
CMYKcmyk(0%, 7.6%, 73.7%, 53.7%)
CIE-LABlab(45.48, -6.15, 42.56)
CIE-LCHlch(45.48, 43.00, 98.23°)
OKLaboklab(52.79% -0.0212 0.0946)
OKLCHoklch(52.79% 0.097 102.6)
XYZxyz(13.1877, 14.8883, 3.4751)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766D1F #1F2876
analogous
#76421F #766D1F #54761F
triadic
#766D1F #1F766D #6D1F76
tetradic
#766D1F #1F7642 #1F2876 #761F54
square
#766D1F #1F7642 #1F2876 #761F54
split-complementary
#766D1F #1F5476 #421F76
monochromatic
#181606 #464012 #766D1F #A69A2C #CDBF42

Accessibility & contrast

On white

5.28
#766D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#766D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766D1F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766D1F#FFFFFF#000000##FFFFFF
##766D1F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#7F655E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #766d1f;
/* rgb */ color: rgb(118, 109, 31);
/* oklch */ color: oklch(52.8% 0.097 102.6);
Tailwind
colors: {
  custom: {
    50: '#a09660',
    500: '#766d1f',
    950: '#000000',
  },
}
SCSS
$custom: #766d1f;
$custom-light: #a09660;
$custom-dark: #000000;
JSON
{
  "hex": "#766d1f",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 53.793,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5279,
    "c": 0.09697,
    "h": 102.6
  },
  "luminance": 0.14888
}

Semantic roles & 50–950 ramp

primary
#766D1F
secondary
#4751AA
accent
#56E246
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #766D1F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#766D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva