#808A1B#808A1B

#808A1B is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.5% C 0.128 H 114.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#808A1B
RGBrgb(128, 138, 27)
HSLhsl(65, 67%, 32%)
HSVhsv(65, 80%, 54%)
CMYKcmyk(7.2%, 0%, 80.4%, 45.9%)
CIE-LABlab(54.91, -17.53, 53.18)
CIE-LCHlch(54.91, 55.99, 108.24°)
OKLaboklab(60.53% -0.0539 0.116)
OKLCHoklch(60.53% 0.128 114.9)
XYZxyz(18.1889, 22.8456, 4.4882)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808A1B #251B8A
analogous
#8A5C1B #808A1B #498A1B
triadic
#808A1B #1B808A #8A1B80
tetradic
#808A1B #1B8A5C #251B8A #8A1B49
square
#808A1B #1B8A5C #251B8A #8A1B49
split-complementary
#808A1B #1B498A #5C1B8A
monochromatic
#212407 #515711 #808A1B #AFBD25 #CDDB45

Accessibility & contrast

On white

3.77
#808A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#808A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808A1B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808A1B#FFFFFF#000000##000000
##808A1B1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#948426
Tritanopia (blue-blind)
#898176
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #808a1b;
/* rgb */ color: rgb(128, 138, 27);
/* oklch */ color: oklch(60.5% 0.128 114.9);
Tailwind
colors: {
  custom: {
    50: '#a8ac62',
    500: '#808a1b',
    950: '#000000',
  },
}
SCSS
$custom: #808a1b;
$custom-light: #a8ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#808a1b",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 65.405,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.12789,
    "h": 114.9
  },
  "luminance": 0.22845
}

Semantic roles & 50–950 ramp

primary
#808A1B
secondary
#5045BC
accent
#3EEA4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808A1B

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

Preview Lab → · Contrast checker → · Palette generator →

#808A1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva