#818220#818220

#818220 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.8% C 0.116 H 110.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#818220
RGBrgb(129, 130, 32)
HSLhsl(61, 60%, 32%)
HSVhsv(61, 75%, 51%)
CMYKcmyk(0.8%, 0%, 75.4%, 49%)
CIE-LABlab(52.66, -12.61, 49.45)
CIE-LCHlch(52.66, 51.03, 104.30°)
OKLaboklab(58.76% -0.0398 0.109)
OKLCHoklch(58.76% 0.116 110.1)
XYZxyz(17.2972, 20.7372, 4.4577)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818220 #212082
analogous
#825220 #818220 #508220
triadic
#818220 #208182 #822081
tetradic
#818220 #208252 #212082 #822050
square
#818220 #208252 #212082 #822050
split-complementary
#818220 #205082 #522082
monochromatic
#202008 #505114 #818220 #B2B32C #D1D24A

Accessibility & contrast

On white

4.08
#818220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#818220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818220
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818220#FFFFFF#000000##000000
##8182201.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0C
Deuteranopia (green-blind)
#8E7F28
Tritanopia (blue-blind)
#8A796F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #818220;
/* rgb */ color: rgb(129, 130, 32);
/* oklch */ color: oklch(58.8% 0.116 110.1);
Tailwind
colors: {
  custom: {
    50: '#a9a663',
    500: '#818220',
    950: '#000000',
  },
}
SCSS
$custom: #818220;
$custom-light: #a9a663;
$custom-dark: #000000;
JSON
{
  "hex": "#818220",
  "rgb": {
    "r": 129,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 60.612,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58758,
    "c": 0.11603,
    "h": 110.1
  },
  "luminance": 0.20737
}

Semantic roles & 50–950 ramp

primary
#818220
secondary
#4A49B5
accent
#44E446
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #818220

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

Preview Lab → · Contrast checker → · Palette generator →

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