#807F1B#807F1B

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

Color values

HEX#807F1B
RGBrgb(128, 127, 27)
HSLhsl(59, 65%, 30%)
HSVhsv(59, 79%, 50%)
CMYKcmyk(0%, 0.8%, 78.9%, 49.8%)
CIE-LABlab(51.66, -11.67, 50.24)
CIE-LCHlch(51.66, 51.58, 103.07°)
OKLaboklab(57.93% -0.0377 0.1097)
OKLCHoklch(57.93% 0.116 108.9)
XYZxyz(16.6899, 19.8476, 3.9885)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F1B #1B1C80
analogous
#804C1B #807F1B #4E801B
triadic
#807F1B #1B807F #7F1B80
tetradic
#807F1B #1B804C #1B1C80 #801B4E
square
#807F1B #1B804C #1B1C80 #801B4E
split-complementary
#807F1B #1B4E80 #4C1B80
monochromatic
#1B1B06 #4D4D10 #807F1B #B3B126 #D6D53F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807F1B#FFFFFF#000000##000000
##807F1B1.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)
#8A7902
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#8A766C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807f1b;
/* rgb */ color: rgb(128, 127, 27);
/* oklch */ color: oklch(57.9% 0.116 108.9);
Tailwind
colors: {
  custom: {
    50: '#a8a361',
    500: '#807f1b',
    950: '#000000',
  },
}
SCSS
$custom: #807f1b;
$custom-light: #a8a361;
$custom-dark: #000000;
JSON
{
  "hex": "#807f1b",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 59.406,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.57931,
    "c": 0.116,
    "h": 108.9
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#807F1B
secondary
#4344B4
accent
#41E840
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #807F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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