#807F1E#807F1E

#807F1E is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.0% C 0.114 H 108.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#807F1E
RGBrgb(128, 127, 30)
HSLhsl(59, 62%, 31%)
HSVhsv(59, 77%, 50%)
CMYKcmyk(0%, 0.8%, 76.6%, 49.8%)
CIE-LABlab(51.68, -11.54, 49.22)
CIE-LCHlch(51.68, 50.55, 103.19°)
OKLaboklab(57.95% -0.037 0.1081)
OKLCHoklch(57.95% 0.114 108.9)
XYZxyz(16.7264, 19.8622, 4.1807)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F1E #1E1F80
analogous
#804E1E #807F1E #50801E
triadic
#807F1E #1E807F #7F1E80
tetradic
#807F1E #1E804E #1E1F80 #801E50
square
#807F1E #1E804E #1E1F80 #801E50
split-complementary
#807F1E #1E5080 #4E1E80
monochromatic
#1D1D07 #4E4E12 #807F1E #B2B02A #D3D245

Accessibility & contrast

On white

4.22
#807F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#807F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807F1E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807F1E#FFFFFF#000000##000000
##807F1E1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7909
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#8A766D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f1e;
/* rgb */ color: rgb(128, 127, 30);
/* oklch */ color: oklch(58.0% 0.114 108.9);
Tailwind
colors: {
  custom: {
    50: '#a8a362',
    500: '#807f1e',
    950: '#000000',
  },
}
SCSS
$custom: #807f1e;
$custom-light: #a8a362;
$custom-dark: #000000;
JSON
{
  "hex": "#807f1e",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 59.388,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5795,
    "c": 0.11429,
    "h": 108.9
  },
  "luminance": 0.19862
}

Semantic roles & 50–950 ramp

primary
#807F1E
secondary
#4748B3
accent
#44E543
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #807F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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