#808124#808124

#808124 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.113 H 110.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#808124
RGBrgb(128, 129, 36)
HSLhsl(61, 56%, 32%)
HSVhsv(61, 72%, 51%)
CMYKcmyk(0.8%, 0%, 72.1%, 49.4%)
CIE-LABlab(52.31, -12.32, 47.56)
CIE-LCHlch(52.31, 49.13, 104.52°)
OKLaboklab(58.46% -0.0386 0.1058)
OKLCHoklch(58.46% 0.113 110)
XYZxyz(17.0714, 20.4176, 4.7104)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808124 #252481
analogous
#815324 #808124 #528124
triadic
#808124 #248081 #812480
tetradic
#808124 #248153 #252481 #812452
square
#808124 #248153 #252481 #812452
split-complementary
#808124 #245281 #532481
monochromatic
#212109 #515117 #808124 #AFB131 #CDCE51

Accessibility & contrast

On white

4.13
#808124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#808124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808124
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808124#FFFFFF#000000##000000
##8081241.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B14
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#89796F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #808124;
/* rgb */ color: rgb(128, 129, 36);
/* oklch */ color: oklch(58.5% 0.113 110.0);
Tailwind
colors: {
  custom: {
    50: '#a8a565',
    500: '#808124',
    950: '#000000',
  },
}
SCSS
$custom: #808124;
$custom-light: #a8a565;
$custom-dark: #000000;
JSON
{
  "hex": "#808124",
  "rgb": {
    "r": 128,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 60.645,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.11259,
    "h": 110
  },
  "luminance": 0.20417
}

Semantic roles & 50–950 ramp

primary
#808124
secondary
#504EB2
accent
#48E04A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808124

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

Preview Lab → · Contrast checker → · Palette generator →

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