#807D1B#807D1B

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

Color values

HEX#807D1B
RGBrgb(128, 125, 27)
HSLhsl(58, 65%, 30%)
HSVhsv(58, 79%, 50%)
CMYKcmyk(0%, 2.3%, 78.9%, 49.8%)
CIE-LABlab(51.08, -10.58, 49.71)
CIE-LCHlch(51.08, 50.82, 102.01°)
OKLaboklab(57.46% -0.0346 0.1086)
OKLCHoklch(57.46% 0.114 107.7)
XYZxyz(16.4342, 19.3361, 3.9033)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D1B #1B1E80
analogous
#804A1B #807D1B #50801B
triadic
#807D1B #1B807D #7D1B80
tetradic
#807D1B #1B804A #1B1E80 #801B50
square
#807D1B #1B804A #1B1E80 #801B50
split-complementary
#807D1B #1B5080 #4A1B80
monochromatic
#1B1A06 #4D4C10 #807D1B #B3AE26 #D6D23F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807D1B#FFFFFF#000000##000000
##807D1B1.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)
#887803
Deuteranopia (green-blind)
#8A7B23
Tritanopia (blue-blind)
#8A746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d1b;
/* rgb */ color: rgb(128, 125, 27);
/* oklch */ color: oklch(57.5% 0.114 107.7);
Tailwind
colors: {
  custom: {
    50: '#a8a260',
    500: '#807d1b',
    950: '#000000',
  },
}
SCSS
$custom: #807d1b;
$custom-light: #a8a260;
$custom-dark: #000000;
JSON
{
  "hex": "#807d1b",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 58.218,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57463,
    "c": 0.11396,
    "h": 107.7
  },
  "luminance": 0.19336
}

Semantic roles & 50–950 ramp

primary
#807D1B
secondary
#4346B4
accent
#45E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #807D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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