#807C1D#807C1D

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

Color values

HEX#807C1D
RGBrgb(128, 124, 29)
HSLhsl(58, 63%, 31%)
HSVhsv(58, 77%, 50%)
CMYKcmyk(0%, 3.1%, 77.3%, 49.8%)
CIE-LABlab(50.80, -9.94, 48.75)
CIE-LCHlch(50.80, 49.75, 101.53°)
OKLaboklab(57.24% -0.0326 0.107)
OKLCHoklch(57.24% 0.112 107)
XYZxyz(16.3322, 19.0938, 3.9873)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C1D #1D2180
analogous
#804A1D #807C1D #52801D
triadic
#807C1D #1D807C #7C1D80
tetradic
#807C1D #1D804A #1D2180 #801D52
square
#807C1D #1D804A #1D2180 #801D52
split-complementary
#807C1D #1D5280 #4A1D80
monochromatic
#1C1B06 #4E4C12 #807C1D #B2AC28 #D4CF43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807C1D#FFFFFF#000000##000000
##807C1D1.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)
#877708
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#8A736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #807c1d;
/* rgb */ color: rgb(128, 124, 29);
/* oklch */ color: oklch(57.2% 0.112 107.0);
Tailwind
colors: {
  custom: {
    50: '#a8a161',
    500: '#807c1d',
    950: '#000000',
  },
}
SCSS
$custom: #807c1d;
$custom-light: #a8a161;
$custom-dark: #000000;
JSON
{
  "hex": "#807c1d",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 57.576,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57243,
    "c": 0.11182,
    "h": 107
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

primary
#807C1D
secondary
#454AB3
accent
#48E642
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #807C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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