#808428#808428

#808428 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.2% C 0.113 H 111.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#808428
RGBrgb(128, 132, 40)
HSLhsl(63, 53%, 34%)
HSVhsv(63, 70%, 52%)
CMYKcmyk(3%, 0%, 69.7%, 48.2%)
CIE-LABlab(53.22, -13.70, 46.85)
CIE-LCHlch(53.22, 48.81, 106.30°)
OKLaboklab(59.2% -0.042 0.105)
OKLCHoklch(59.2% 0.113 111.8)
XYZxyz(17.5369, 21.2453, 5.1840)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808428 #2C2884
analogous
#845A28 #808428 #528428
triadic
#808428 #288084 #842880
tetradic
#808428 #28845A #2C2884 #842852
square
#808428 #28845A #2C2884 #842852
split-complementary
#808428 #285284 #5A2884
monochromatic
#25260C #52551A #808428 #AEB336 #C8CD5A

Accessibility & contrast

On white

4.00
#808428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#808428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808428
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808428#FFFFFF#000000##000000
##8084281.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1A
Deuteranopia (green-blind)
#8F802F
Tritanopia (blue-blind)
#897C72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #808428;
/* rgb */ color: rgb(128, 132, 40);
/* oklch */ color: oklch(59.2% 0.113 111.8);
Tailwind
colors: {
  custom: {
    50: '#a8a768',
    500: '#808428',
    950: '#000000',
  },
}
SCSS
$custom: #808428;
$custom-light: #a8a768;
$custom-dark: #000000;
JSON
{
  "hex": "#808428",
  "rgb": {
    "r": 128,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 62.609,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59199,
    "c": 0.11309,
    "h": 111.8
  },
  "luminance": 0.21245
}

Semantic roles & 50–950 ramp

primary
#808428
secondary
#5A56B2
accent
#4BDD51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808428

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

Preview Lab → · Contrast checker → · Palette generator →

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