#766420#766420

#766420 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.7% C 0.089 H 94.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#766420
RGBrgb(118, 100, 32)
HSLhsl(47, 57%, 29%)
HSVhsv(47, 73%, 46%)
CMYKcmyk(0%, 15.3%, 72.9%, 53.7%)
CIE-LABlab(42.87, -0.91, 39.51)
CIE-LCHlch(42.87, 39.52, 91.33°)
OKLaboklab(50.72% -0.0061 0.0884)
OKLCHoklch(50.72% 0.089 94)
XYZxyz(12.2897, 13.0709, 3.2418)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766420 #203276
analogous
#763920 #766420 #5D7620
triadic
#766420 #207664 #642076
tetradic
#766420 #207639 #203276 #76205D
square
#766420 #207639 #203276 #76205D
split-complementary
#766420 #205D76 #392076
monochromatic
#181407 #463B13 #766420 #A68D2D #CCB044

Accessibility & contrast

On white

5.81
#766420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#766420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766420
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766420#FFFFFF#000000##FFFFFF
##7664201.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6217
Deuteranopia (green-blind)
#736824
Tritanopia (blue-blind)
#805C56
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #766420;
/* rgb */ color: rgb(118, 100, 32);
/* oklch */ color: oklch(50.7% 0.089 94.0);
Tailwind
colors: {
  custom: {
    50: '#a18f60',
    500: '#766420',
    950: '#000000',
  },
}
SCSS
$custom: #766420;
$custom-light: #a18f60;
$custom-dark: #000000;
JSON
{
  "hex": "#766420",
  "rgb": {
    "r": 118,
    "g": 100,
    "b": 32
  },
  "hsl": {
    "h": 47.442,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50723,
    "c": 0.08859,
    "h": 94
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#766420
secondary
#485DA9
accent
#67E147
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#0F0C05
muted
#7F7D79

Preview Lab

Preview with #766420

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

Preview Lab → · Contrast checker → · Palette generator →

#766420 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva