#808F1A#808F1A

#808F1A is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.7% C 0.134 H 117.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#808F1A
RGBrgb(128, 143, 26)
HSLhsl(68, 69%, 33%)
HSVhsv(68, 82%, 56%)
CMYKcmyk(10.5%, 0%, 81.8%, 43.9%)
CIE-LABlab(56.40, -20.15, 54.80)
CIE-LCHlch(56.40, 58.39, 110.19°)
OKLaboklab(61.72% -0.0612 0.1193)
OKLCHoklch(61.72% 0.134 117.2)
XYZxyz(18.9115, 24.3089, 4.6729)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F1A #291A8F
analogous
#8F631A #808F1A #468F1A
triadic
#808F1A #1A808F #8F1A80
tetradic
#808F1A #1A8F63 #291A8F #8F1A46
square
#808F1A #1A8F63 #291A8F #8F1A46
split-complementary
#808F1A #1A468F #631A8F
monochromatic
#232707 #525B11 #808F1A #AEC323 #CADD46

Accessibility & contrast

On white

3.58
#808F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#808F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808F1A
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808F1A#FFFFFF#000000##000000
##808F1A1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#88867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f1a;
/* rgb */ color: rgb(128, 143, 26);
/* oklch */ color: oklch(61.7% 0.134 117.2);
Tailwind
colors: {
  custom: {
    50: '#a8af63',
    500: '#808f1a',
    950: '#000000',
  },
}
SCSS
$custom: #808f1a;
$custom-light: #a8af63;
$custom-dark: #000000;
JSON
{
  "hex": "#808f1a",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 67.692,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61722,
    "c": 0.13405,
    "h": 117.2
  },
  "luminance": 0.24309
}

Semantic roles & 50–950 ramp

primary
#808F1A
secondary
#5546BF
accent
#3CEC52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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