#807C1B#807C1B

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

Color values

HEX#807C1B
RGBrgb(128, 124, 27)
HSLhsl(58, 65%, 30%)
HSVhsv(58, 79%, 50%)
CMYKcmyk(0%, 3.1%, 78.9%, 49.8%)
CIE-LABlab(50.79, -10.03, 49.44)
CIE-LCHlch(50.79, 50.45, 101.47°)
OKLaboklab(57.23% -0.0331 0.108)
OKLCHoklch(57.23% 0.113 107)
XYZxyz(16.3082, 19.0842, 3.8613)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C1B #1B1F80
analogous
#804A1B #807C1B #51801B
triadic
#807C1B #1B807C #7C1B80
tetradic
#807C1B #1B804A #1B1F80 #801B51
square
#807C1B #1B804A #1B1F80 #801B51
split-complementary
#807C1B #1B5180 #4A1B80
monochromatic
#1B1A06 #4D4B10 #807C1B #B3AD26 #D6D03F

Accessibility & contrast

On white

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

On black

4.82
#807C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807C1B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807C1B#FFFFFF#000000##000000
##807C1B1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #807c1b;
/* rgb */ color: rgb(128, 124, 27);
/* oklch */ color: oklch(57.2% 0.113 107.0);
Tailwind
colors: {
  custom: {
    50: '#a8a160',
    500: '#807c1b',
    950: '#000000',
  },
}
SCSS
$custom: #807c1b;
$custom-light: #a8a160;
$custom-dark: #000000;
JSON
{
  "hex": "#807c1b",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 57.624,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5723,
    "c": 0.11296,
    "h": 107
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#807C1B
secondary
#4348B4
accent
#46E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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