#808D1C#808D1C

#808D1C is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.3% C 0.131 H 116.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#808D1C
RGBrgb(128, 141, 28)
HSLhsl(67, 67%, 33%)
HSVhsv(67, 80%, 55%)
CMYKcmyk(9.2%, 0%, 80.1%, 44.7%)
CIE-LABlab(55.81, -19.04, 53.67)
CIE-LCHlch(55.81, 56.95, 109.53°)
OKLaboklab(61.25% -0.058 0.1172)
OKLCHoklch(61.25% 0.131 116.3)
XYZxyz(18.6371, 23.7231, 4.6956)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D1C #291C8D
analogous
#8D611C #808D1C #478D1C
triadic
#808D1C #1C808D #8D1C80
tetradic
#808D1C #1C8D61 #291C8D #8D1C47
square
#808D1C #1C8D61 #291C8D #8D1C47
split-complementary
#808D1C #1C478D #611C8D
monochromatic
#232708 #525A12 #808D1C #AEC026 #CADB49

Accessibility & contrast

On white

3.66
#808D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#808D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D1C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D1C#FFFFFF#000000##000000
##808D1C1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#898578
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d1c;
/* rgb */ color: rgb(128, 141, 28);
/* oklch */ color: oklch(61.3% 0.131 116.3);
Tailwind
colors: {
  custom: {
    50: '#a8ae63',
    500: '#808d1c',
    950: '#000000',
  },
}
SCSS
$custom: #808d1c;
$custom-light: #a8ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#808d1c",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 66.903,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.13078,
    "h": 116.3
  },
  "luminance": 0.23723
}

Semantic roles & 50–950 ramp

primary
#808D1C
secondary
#5548BD
accent
#3EEA52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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