#808122#808122

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

Color values

HEX#808122
RGBrgb(128, 129, 34)
HSLhsl(61, 58%, 32%)
HSVhsv(61, 74%, 51%)
CMYKcmyk(0.8%, 0%, 73.6%, 49.4%)
CIE-LABlab(52.29, -12.42, 48.32)
CIE-LCHlch(52.29, 49.89, 104.42°)
OKLaboklab(58.45% -0.0391 0.107)
OKLCHoklch(58.45% 0.114 110.1)
XYZxyz(17.0417, 20.4057, 4.5541)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808122 #232281
analogous
#815322 #808122 #508122
triadic
#808122 #228081 #812280
tetradic
#808122 #228153 #232281 #812250
square
#808122 #228153 #232281 #812250
split-complementary
#808122 #225081 #532281
monochromatic
#202008 #505115 #808122 #B0B12F #CFD04D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808122#FFFFFF#000000##000000
##8081221.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)
#8C7B11
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#89796F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #808122;
/* rgb */ color: rgb(128, 129, 34);
/* oklch */ color: oklch(58.4% 0.114 110.1);
Tailwind
colors: {
  custom: {
    50: '#a8a564',
    500: '#808122',
    950: '#000000',
  },
}
SCSS
$custom: #808122;
$custom-light: #a8a564;
$custom-dark: #000000;
JSON
{
  "hex": "#808122",
  "rgb": {
    "r": 128,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 60.632,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58446,
    "c": 0.11392,
    "h": 110.1
  },
  "luminance": 0.20405
}

Semantic roles & 50–950 ramp

primary
#808122
secondary
#4D4BB3
accent
#46E148
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808122

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

Preview Lab → · Contrast checker → · Palette generator →

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