#807C16#807C16

#807C16 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.116 H 107.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#807C16
RGBrgb(128, 124, 22)
HSLhsl(58, 71%, 29%)
HSVhsv(58, 83%, 50%)
CMYKcmyk(0%, 3.1%, 82.8%, 49.8%)
CIE-LABlab(50.76, -10.22, 51.02)
CIE-LCHlch(50.76, 52.03, 101.33°)
OKLaboklab(57.2% -0.034 0.1104)
OKLCHoklch(57.2% 0.116 107.1)
XYZxyz(16.2552, 19.0630, 3.5822)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C16 #161A80
analogous
#804716 #807C16 #4F8016
triadic
#807C16 #16807C #7C1680
tetradic
#807C16 #168047 #161A80 #80164F
square
#807C16 #168047 #161A80 #80164F
split-complementary
#807C16 #164F80 #471680
monochromatic
#1A1904 #4C490D #807C16 #B4AF1F #DCD634

Accessibility & contrast

On white

4.36
#807C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#807C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807C16
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807C16#FFFFFF#000000##000000
##807C161.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#897B1F
Tritanopia (blue-blind)
#8A736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #807c16;
/* rgb */ color: rgb(128, 124, 22);
/* oklch */ color: oklch(57.2% 0.116 107.1);
Tailwind
colors: {
  custom: {
    50: '#a8a15e',
    500: '#807c16',
    950: '#000000',
  },
}
SCSS
$custom: #807c16;
$custom-light: #a8a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#807c16",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 57.736,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57202,
    "c": 0.11553,
    "h": 107.1
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#807C16
secondary
#3D42B5
accent
#41ED3A
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807C16

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

Preview Lab → · Contrast checker → · Palette generator →

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