#766D20#766D20

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

Color values

HEX#766D20
RGBrgb(118, 109, 32)
HSLhsl(54, 57%, 29%)
HSVhsv(54, 73%, 46%)
CMYKcmyk(0%, 7.6%, 72.9%, 53.7%)
CIE-LABlab(45.49, -6.10, 42.15)
CIE-LCHlch(45.49, 42.59, 98.23°)
OKLaboklab(52.8% -0.0209 0.094)
OKLCHoklch(52.8% 0.096 102.5)
XYZxyz(13.2011, 14.8937, 3.5456)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766D20 #202976
analogous
#764220 #766D20 #547620
triadic
#766D20 #20766D #6D2076
tetradic
#766D20 #207642 #202976 #762054
square
#766D20 #207642 #202976 #762054
split-complementary
#766D20 #205476 #422076
monochromatic
#181607 #464113 #766D20 #A6992D #CCBE44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##766D20#FFFFFF#000000##FFFFFF
##766D201.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)
#776914
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#7F655E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #766d20;
/* rgb */ color: rgb(118, 109, 32);
/* oklch */ color: oklch(52.8% 0.096 102.5);
Tailwind
colors: {
  custom: {
    50: '#a09661',
    500: '#766d20',
    950: '#000000',
  },
}
SCSS
$custom: #766d20;
$custom-light: #a09661;
$custom-dark: #000000;
JSON
{
  "hex": "#766d20",
  "rgb": {
    "r": 118,
    "g": 109,
    "b": 32
  },
  "hsl": {
    "h": 53.721,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.09625,
    "h": 102.5
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#766D20
secondary
#4853A9
accent
#57E147
background
#FAF9F5
surface
#F4F1EA
border
#CECBC6
text
#0F0D05
muted
#7F7E79

Preview Lab

Preview with #766D20

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

Preview Lab → · Contrast checker → · Palette generator →

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