#766216#766216

#766216 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 50.2% C 0.094 H 93.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#766216
RGBrgb(118, 98, 22)
HSLhsl(48, 69%, 27%)
HSVhsv(48, 81%, 46%)
CMYKcmyk(0%, 16.9%, 81.4%, 53.7%)
CIE-LABlab(42.22, -0.24, 43.03)
CIE-LCHlch(42.22, 43.03, 90.32°)
OKLaboklab(50.19% -0.0054 0.0937)
OKLCHoklch(50.19% 0.094 93.3)
XYZxyz(11.9844, 12.6456, 2.5685)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#766216 #162A76
analogous
#763216 #766216 #5A7616
triadic
#766216 #167662 #621676
tetradic
#766216 #167632 #162A76 #76165A
square
#766216 #167632 #162A76 #76165A
split-complementary
#766216 #165A76 #321676
monochromatic
#1A1505 #42370C #766216 #AA8D20 #D8B52E

Accessibility & contrast

On white

5.95
#766216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#766216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #766216
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##766216#FFFFFF#000000##FFFFFF
##7662161.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6006
Deuteranopia (green-blind)
#72661B
Tritanopia (blue-blind)
#805954
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #766216;
/* rgb */ color: rgb(118, 98, 22);
/* oklch */ color: oklch(50.2% 0.094 93.3);
Tailwind
colors: {
  custom: {
    50: '#a18e5a',
    500: '#766216',
    950: '#000000',
  },
}
SCSS
$custom: #766216;
$custom-light: #a18e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#766216",
  "rgb": {
    "r": 118,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 47.5,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50191,
    "c": 0.09388,
    "h": 93.3
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#766216
secondary
#3C53AC
accent
#61EB3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #766216

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

Preview Lab → · Contrast checker → · Palette generator →

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