#807F1A#807F1A

#807F1A is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.117 H 109.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#807F1A
RGBrgb(128, 127, 26)
HSLhsl(59, 66%, 30%)
HSVhsv(59, 80%, 50%)
CMYKcmyk(0%, 0.8%, 79.7%, 49.8%)
CIE-LABlab(51.66, -11.71, 50.57)
CIE-LCHlch(51.66, 51.90, 103.04°)
OKLaboklab(57.93% -0.0378 0.1102)
OKLCHoklch(57.93% 0.117 109)
XYZxyz(16.6786, 19.8431, 3.9286)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F1A #1A1B80
analogous
#804C1A #807F1A #4E801A
triadic
#807F1A #1A807F #7F1A80
tetradic
#807F1A #1A804C #1A1B80 #801A4E
square
#807F1A #1A804C #1A1B80 #801A4E
split-complementary
#807F1A #1A4E80 #4C1A80
monochromatic
#1A1A05 #4D4D10 #807F1A #B3B124 #D8D63D

Accessibility & contrast

On white

4.23
#807F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##807F1A#FFFFFF#000000##000000
##807F1A1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#8A766C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f1a;
/* rgb */ color: rgb(128, 127, 26);
/* oklch */ color: oklch(57.9% 0.117 109.0);
Tailwind
colors: {
  custom: {
    50: '#a8a360',
    500: '#807f1a',
    950: '#000000',
  },
}
SCSS
$custom: #807f1a;
$custom-light: #a8a360;
$custom-dark: #000000;
JSON
{
  "hex": "#807f1a",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 59.412,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.11654,
    "h": 109
  },
  "luminance": 0.19843
}

Semantic roles & 50–950 ramp

primary
#807F1A
secondary
#4243B4
accent
#40E93F
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #807F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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