#808024#808024

#808024 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.112 H 109.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#808024
RGBrgb(128, 128, 36)
HSLhsl(60, 56%, 32%)
HSVhsv(60, 72%, 50%)
CMYKcmyk(0%, 0%, 71.9%, 49.8%)
CIE-LABlab(52.01, -11.77, 47.27)
CIE-LCHlch(52.01, 48.72, 103.99°)
OKLaboklab(58.23% -0.0371 0.1052)
OKLCHoklch(58.23% 0.112 109.4)
XYZxyz(16.9403, 20.1554, 4.6667)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808024 #242480
analogous
#805224 #808024 #528024
triadic
#808024 #248080 #802480
tetradic
#808024 #248052 #242480 #802452
square
#808024 #248052 #242480 #802452
split-complementary
#808024 #245280 #522480
monochromatic
#202009 #505017 #808024 #B0B031 #CECE50

Accessibility & contrast

On white

4.17
#808024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#808024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808024
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808024#FFFFFF#000000##000000
##8080241.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A15
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#89786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #808024;
/* rgb */ color: rgb(128, 128, 36);
/* oklch */ color: oklch(58.2% 0.112 109.4);
Tailwind
colors: {
  custom: {
    50: '#a8a465',
    500: '#808024',
    950: '#000000',
  },
}
SCSS
$custom: #808024;
$custom-light: #a8a465;
$custom-dark: #000000;
JSON
{
  "hex": "#808024",
  "rgb": {
    "r": 128,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58227,
    "c": 0.1115,
    "h": 109.4
  },
  "luminance": 0.20155
}

Semantic roles & 50–950 ramp

primary
#808024
secondary
#4E4EB2
accent
#48DF48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808024

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

Preview Lab → · Contrast checker → · Palette generator →

#808024 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva