#808C1B#808C1B

#808C1B is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.0% C 0.130 H 115.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#808C1B
RGBrgb(128, 140, 27)
HSLhsl(66, 68%, 33%)
HSVhsv(66, 81%, 55%)
CMYKcmyk(8.6%, 0%, 80.7%, 45.1%)
CIE-LABlab(55.51, -18.57, 53.71)
CIE-LCHlch(55.51, 56.83, 109.07°)
OKLaboklab(61.01% -0.0568 0.1171)
OKLCHoklch(61.01% 0.13 115.9)
XYZxyz(18.4785, 23.4248, 4.5847)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808C1B #271B8C
analogous
#8C601B #808C1B #478C1B
triadic
#808C1B #1B808C #8C1B80
tetradic
#808C1B #1B8C60 #271B8C #8C1B47
square
#808C1B #1B8C60 #271B8C #8C1B47
split-complementary
#808C1B #1B478C #601B8C
monochromatic
#222507 #515911 #808C1B #AFBF25 #CBDB46

Accessibility & contrast

On white

3.69
#808C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#808C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808C1B
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808C1B#FFFFFF#000000##000000
##808C1B1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#958626
Tritanopia (blue-blind)
#898377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #808c1b;
/* rgb */ color: rgb(128, 140, 27);
/* oklch */ color: oklch(61.0% 0.130 115.9);
Tailwind
colors: {
  custom: {
    50: '#a8ad63',
    500: '#808c1b',
    950: '#000000',
  },
}
SCSS
$custom: #808c1b;
$custom-light: #a8ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#808c1b",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 66.372,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.6101,
    "c": 0.13015,
    "h": 115.9
  },
  "luminance": 0.23424
}

Semantic roles & 50–950 ramp

primary
#808C1B
secondary
#5346BD
accent
#3DEB50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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