#807D1E#807D1E

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

Color values

HEX#807D1E
RGBrgb(128, 125, 30)
HSLhsl(58, 62%, 31%)
HSVhsv(58, 77%, 50%)
CMYKcmyk(0%, 2.3%, 76.6%, 49.8%)
CIE-LABlab(51.09, -10.44, 48.67)
CIE-LCHlch(51.09, 49.78, 102.11°)
OKLaboklab(57.48% -0.0339 0.107)
OKLCHoklch(57.48% 0.112 107.6)
XYZxyz(16.4707, 19.3507, 4.0955)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D1E #1E2180
analogous
#804C1E #807D1E #52801E
triadic
#807D1E #1E807D #7D1E80
tetradic
#807D1E #1E804C #1E2180 #801E52
square
#807D1E #1E804C #1E2180 #801E52
split-complementary
#807D1E #1E5280 #4C1E80
monochromatic
#1D1C07 #4E4D12 #807D1E #B2AD2A #D3CF45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807D1E#FFFFFF#000000##000000
##807D1E1.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)
#88780A
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#8A746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d1e;
/* rgb */ color: rgb(128, 125, 30);
/* oklch */ color: oklch(57.5% 0.112 107.6);
Tailwind
colors: {
  custom: {
    50: '#a8a262',
    500: '#807d1e',
    950: '#000000',
  },
}
SCSS
$custom: #807d1e;
$custom-light: #a8a262;
$custom-dark: #000000;
JSON
{
  "hex": "#807d1e",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 58.163,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57482,
    "c": 0.11223,
    "h": 107.6
  },
  "luminance": 0.1935
}

Semantic roles & 50–950 ramp

primary
#807D1E
secondary
#474AB3
accent
#48E543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #807D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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