#808C1F#808C1F

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

Color values

HEX#808C1F
RGBrgb(128, 140, 31)
HSLhsl(67, 64%, 34%)
HSVhsv(67, 78%, 55%)
CMYKcmyk(8.6%, 0%, 77.9%, 45.1%)
CIE-LABlab(55.53, -18.40, 52.45)
CIE-LCHlch(55.53, 55.58, 109.33°)
OKLaboklab(61.03% -0.056 0.1152)
OKLCHoklch(61.03% 0.128 115.9)
XYZxyz(18.5280, 23.4446, 4.8453)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808C1F #2B1F8C
analogous
#8C611F #808C1F #498C1F
triadic
#808C1F #1F808C #8C1F80
tetradic
#808C1F #1F8C61 #2B1F8C #8C1F49
square
#808C1F #1F8C61 #2B1F8C #8C1F49
split-complementary
#808C1F #1F498C #611F8C
monochromatic
#242809 #525A14 #808C1F #AEBE2A #C9D84E

Accessibility & contrast

On white

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

On black

5.69
#808C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808C1F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808C1F#FFFFFF#000000##000000
##808C1F1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968403
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#898478
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #808c1f;
/* rgb */ color: rgb(128, 140, 31);
/* oklch */ color: oklch(61.0% 0.128 115.9);
Tailwind
colors: {
  custom: {
    50: '#a8ad64',
    500: '#808c1f',
    950: '#000000',
  },
}
SCSS
$custom: #808c1f;
$custom-light: #a8ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#808c1f",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 66.606,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61032,
    "c": 0.12806,
    "h": 115.9
  },
  "luminance": 0.23444
}

Semantic roles & 50–950 ramp

primary
#808C1F
secondary
#584CBB
accent
#41E753
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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