#807D1D#807D1D

#807D1D is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.5% C 0.113 H 107.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#807D1D
RGBrgb(128, 125, 29)
HSLhsl(58, 63%, 31%)
HSVhsv(58, 77%, 50%)
CMYKcmyk(0%, 2.3%, 77.3%, 49.8%)
CIE-LABlab(51.09, -10.49, 49.02)
CIE-LCHlch(51.09, 50.13, 102.08°)
OKLaboklab(57.48% -0.0342 0.1075)
OKLCHoklch(57.48% 0.113 107.6)
XYZxyz(16.4581, 19.3457, 4.0293)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D1D #1D2080
analogous
#804B1D #807D1D #51801D
triadic
#807D1D #1D807D #7D1D80
tetradic
#807D1D #1D804B #1D2080 #801D51
square
#807D1D #1D804B #1D2080 #801D51
split-complementary
#807D1D #1D5180 #4B1D80
monochromatic
#1C1C06 #4E4C12 #807D1D #B2AE28 #D4D043

Accessibility & contrast

On white

4.31
#807D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#807D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807D1D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807D1D#FFFFFF#000000##000000
##807D1D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887807
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#8A746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d1d;
/* rgb */ color: rgb(128, 125, 29);
/* oklch */ color: oklch(57.5% 0.113 107.6);
Tailwind
colors: {
  custom: {
    50: '#a8a261',
    500: '#807d1d',
    950: '#000000',
  },
}
SCSS
$custom: #807d1d;
$custom-light: #a8a261;
$custom-dark: #000000;
JSON
{
  "hex": "#807d1d",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 58.182,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.11282,
    "h": 107.6
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#807D1D
secondary
#4549B3
accent
#47E642
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #807D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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