#807F16#807F16

#807F16 is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.119 H 109.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#807F16
RGBrgb(128, 127, 22)
HSLhsl(59, 71%, 29%)
HSVhsv(59, 83%, 50%)
CMYKcmyk(0%, 0.8%, 82.8%, 49.8%)
CIE-LABlab(51.64, -11.86, 51.79)
CIE-LCHlch(51.64, 53.13, 102.90°)
OKLaboklab(57.9% -0.0386 0.1121)
OKLCHoklch(57.9% 0.119 109)
XYZxyz(16.6369, 19.8264, 3.7094)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F16 #161780
analogous
#804A16 #807F16 #4C8016
triadic
#807F16 #16807F #7F1680
tetradic
#807F16 #16804A #161780 #80164C
square
#807F16 #16804A #161780 #80164C
split-complementary
#807F16 #164C80 #4A1680
monochromatic
#1A1A04 #4C4B0D #807F16 #B4B31F #DCDB34

Accessibility & contrast

On white

4.23
#807F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#807F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807F16
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807F16#FFFFFF#000000##000000
##807F161.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7D20
Tritanopia (blue-blind)
#8A766C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f16;
/* rgb */ color: rgb(128, 127, 22);
/* oklch */ color: oklch(57.9% 0.119 109.0);
Tailwind
colors: {
  custom: {
    50: '#a8a35f',
    500: '#807f16',
    950: '#000000',
  },
}
SCSS
$custom: #807f16;
$custom-light: #a8a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#807f16",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 59.434,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57905,
    "c": 0.11851,
    "h": 109
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#807F16
secondary
#3D3EB5
accent
#3CED3A
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #807F16

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

Preview Lab → · Contrast checker → · Palette generator →

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