#808724#808724

#808724 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 59.9% C 0.119 H 113.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#808724
RGBrgb(128, 135, 36)
HSLhsl(64, 58%, 34%)
HSVhsv(64, 73%, 53%)
CMYKcmyk(5.2%, 0%, 73.3%, 47.1%)
CIE-LABlab(54.07, -15.53, 49.29)
CIE-LCHlch(54.07, 51.67, 107.49°)
OKLaboklab(59.88% -0.0475 0.1094)
OKLCHoklch(59.88% 0.119 113.5)
XYZxyz(17.8850, 22.0449, 4.9817)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808724 #2B2487
analogous
#875C24 #808724 #4E8724
triadic
#808724 #248087 #872480
tetradic
#808724 #24875C #2B2487 #87244E
square
#808724 #24875C #2B2487 #87244E
split-complementary
#808724 #244E87 #5C2487
monochromatic
#24260A #525717 #808724 #AEB731 #C9D154

Accessibility & contrast

On white

3.88
#808724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#808724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808724
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808724#FFFFFF#000000##000000
##8087241.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918012
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#897F74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #808724;
/* rgb */ color: rgb(128, 135, 36);
/* oklch */ color: oklch(59.9% 0.119 113.5);
Tailwind
colors: {
  custom: {
    50: '#a8a966',
    500: '#808724',
    950: '#000000',
  },
}
SCSS
$custom: #808724;
$custom-light: #a8a966;
$custom-dark: #000000;
JSON
{
  "hex": "#808724",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 64.242,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59876,
    "c": 0.1193,
    "h": 113.5
  },
  "luminance": 0.22045
}

Semantic roles & 50–950 ramp

primary
#808724
secondary
#5851B5
accent
#47E152
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808724

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

Preview Lab → · Contrast checker → · Palette generator →

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