#808A24#808A24

#808A24 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.6% C 0.123 H 115.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#808A24
RGBrgb(128, 138, 36)
HSLhsl(66, 59%, 34%)
HSVhsv(66, 74%, 54%)
CMYKcmyk(7.2%, 0%, 73.9%, 45.9%)
CIE-LABlab(54.96, -17.11, 50.15)
CIE-LCHlch(54.96, 52.98, 108.84°)
OKLaboklab(60.59% -0.0519 0.1112)
OKLCHoklch(60.59% 0.123 115)
XYZxyz(18.3095, 22.8938, 5.1232)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808A24 #2E248A
analogous
#8A6124 #808A24 #4D8A24
triadic
#808A24 #24808A #8A2480
tetradic
#808A24 #248A61 #2E248A #8A244D
square
#808A24 #248A61 #2E248A #8A244D
split-complementary
#808A24 #244D8A #61248A
monochromatic
#26290B #535917 #808A24 #ADBB31 #C7D356

Accessibility & contrast

On white

3.76
#808A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#808A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808A24
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808A24#FFFFFF#000000##000000
##808A241.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948311
Deuteranopia (green-blind)
#94842C
Tritanopia (blue-blind)
#898276
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808a24;
/* rgb */ color: rgb(128, 138, 36);
/* oklch */ color: oklch(60.6% 0.123 115.0);
Tailwind
colors: {
  custom: {
    50: '#a8ac66',
    500: '#808a24',
    950: '#000000',
  },
}
SCSS
$custom: #808a24;
$custom-light: #a8ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#808a24",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 65.882,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60588,
    "c": 0.12275,
    "h": 115
  },
  "luminance": 0.22894
}

Semantic roles & 50–950 ramp

primary
#808A24
secondary
#5D53B7
accent
#46E255
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808A24

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

Preview Lab → · Contrast checker → · Palette generator →

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