#807D16#807D16

#807D16 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.117 H 107.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#807D16
RGBrgb(128, 125, 22)
HSLhsl(58, 71%, 29%)
HSVhsv(58, 83%, 50%)
CMYKcmyk(0%, 2.3%, 82.8%, 49.8%)
CIE-LABlab(51.05, -10.77, 51.27)
CIE-LCHlch(51.05, 52.39, 101.86°)
OKLaboklab(57.44% -0.0356 0.111)
OKLCHoklch(57.44% 0.117 107.8)
XYZxyz(16.3812, 19.3149, 3.6242)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D16 #161980
analogous
#804816 #807D16 #4E8016
triadic
#807D16 #16807D #7D1680
tetradic
#807D16 #168048 #161980 #80164E
square
#807D16 #168048 #161980 #80164E
split-complementary
#807D16 #164E80 #481680
monochromatic
#1A1A04 #4C4A0D #807D16 #B4B01F #DCD734

Accessibility & contrast

On white

4.32
#807D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#807D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807D16
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807D16#FFFFFF#000000##000000
##807D161.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8A7B1F
Tritanopia (blue-blind)
#8A746A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d16;
/* rgb */ color: rgb(128, 125, 22);
/* oklch */ color: oklch(57.4% 0.117 107.8);
Tailwind
colors: {
  custom: {
    50: '#a8a25e',
    500: '#807d16',
    950: '#000000',
  },
}
SCSS
$custom: #807d16;
$custom-light: #a8a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#807d16",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 58.302,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57436,
    "c": 0.11652,
    "h": 107.8
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#807D16
secondary
#3D40B5
accent
#3FED3A
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807D16

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

Preview Lab → · Contrast checker → · Palette generator →

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