#807A16#807A16

#807A16 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.114 H 105.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#807A16
RGBrgb(128, 122, 22)
HSLhsl(57, 71%, 29%)
HSVhsv(57, 83%, 50%)
CMYKcmyk(0%, 4.7%, 82.8%, 49.8%)
CIE-LABlab(50.18, -9.13, 50.51)
CIE-LCHlch(50.18, 51.33, 100.24°)
OKLaboklab(56.74% -0.031 0.1093)
OKLCHoklch(56.74% 0.114 105.8)
XYZxyz(16.0071, 18.5668, 3.4995)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807A16 #161C80
analogous
#804516 #807A16 #518016
triadic
#807A16 #16807A #7A1680
tetradic
#807A16 #168045 #161C80 #801651
square
#807A16 #168045 #161C80 #801651
split-complementary
#807A16 #165180 #451680
monochromatic
#1A1904 #4C480D #807A16 #B4AC1F #DCD334

Accessibility & contrast

On white

4.46
#807A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#807A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807A16
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807A16#FFFFFF#000000##000000
##807A161.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#88791F
Tritanopia (blue-blind)
#8A7168
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #807a16;
/* rgb */ color: rgb(128, 122, 22);
/* oklch */ color: oklch(56.7% 0.114 105.8);
Tailwind
colors: {
  custom: {
    50: '#a8a05e',
    500: '#807a16',
    950: '#000000',
  },
}
SCSS
$custom: #807a16;
$custom-light: #a8a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#807a16",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 56.604,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56737,
    "c": 0.11361,
    "h": 105.8
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

primary
#807A16
secondary
#3D44B5
accent
#44ED3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807A16

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

Preview Lab → · Contrast checker → · Palette generator →

#807A16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva