#808F1D#808F1D

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

Color values

HEX#808F1D
RGBrgb(128, 143, 29)
HSLhsl(68, 66%, 34%)
HSVhsv(68, 80%, 56%)
CMYKcmyk(10.5%, 0%, 79.7%, 43.9%)
CIE-LABlab(56.41, -20.03, 53.90)
CIE-LCHlch(56.41, 57.51, 110.39°)
OKLaboklab(61.74% -0.0606 0.1179)
OKLCHoklch(61.74% 0.133 117.2)
XYZxyz(18.9468, 24.3231, 4.8589)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808F1D #2C1D8F
analogous
#8F651D #808F1D #478F1D
triadic
#808F1D #1D808F #8F1D80
tetradic
#808F1D #1D8F65 #2C1D8F #8F1D47
square
#808F1D #1D8F65 #2C1D8F #8F1D47
split-complementary
#808F1D #1D478F #651D8F
monochromatic
#252908 #525C13 #808F1D #AEC227 #C8DB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808F1D#FFFFFF#000000##000000
##808F1D1.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)
#988828
Tritanopia (blue-blind)
#88877A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808f1d;
/* rgb */ color: rgb(128, 143, 29);
/* oklch */ color: oklch(61.7% 0.133 117.2);
Tailwind
colors: {
  custom: {
    50: '#a8af64',
    500: '#808f1d',
    950: '#000000',
  },
}
SCSS
$custom: #808f1d;
$custom-light: #a8af64;
$custom-dark: #000000;
JSON
{
  "hex": "#808f1d",
  "rgb": {
    "r": 128,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 67.895,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61738,
    "c": 0.13258,
    "h": 117.2
  },
  "luminance": 0.24323
}

Semantic roles & 50–950 ramp

primary
#808F1D
secondary
#5A4BBD
accent
#3FE955
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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