#807E16#807E16

#807E16 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.118 H 108.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#807E16
RGBrgb(128, 126, 22)
HSLhsl(59, 71%, 29%)
HSVhsv(59, 83%, 50%)
CMYKcmyk(0%, 1.6%, 82.8%, 49.8%)
CIE-LABlab(51.35, -11.32, 51.53)
CIE-LCHlch(51.35, 52.76, 102.39°)
OKLaboklab(57.67% -0.0371 0.1115)
OKLCHoklch(57.67% 0.118 108.4)
XYZxyz(16.5084, 19.5694, 3.6666)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E16 #161880
analogous
#804916 #807E16 #4D8016
triadic
#807E16 #16807E #7E1680
tetradic
#807E16 #168049 #161880 #80164D
square
#807E16 #168049 #161880 #80164D
split-complementary
#807E16 #164D80 #491680
monochromatic
#1A1A04 #4C4B0D #807E16 #B4B11F #DCD934

Accessibility & contrast

On white

4.27
#807E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#807E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807E16
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807E16#FFFFFF#000000##000000
##807E161.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#8A756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807e16;
/* rgb */ color: rgb(128, 126, 22);
/* oklch */ color: oklch(57.7% 0.118 108.4);
Tailwind
colors: {
  custom: {
    50: '#a8a35e',
    500: '#807e16',
    950: '#000000',
  },
}
SCSS
$custom: #807e16;
$custom-light: #a8a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#807e16",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 58.868,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.11751,
    "h": 108.4
  },
  "luminance": 0.19569
}

Semantic roles & 50–950 ramp

primary
#807E16
secondary
#3D3FB5
accent
#3EED3A
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807E16

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

Preview Lab → · Contrast checker → · Palette generator →

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