#818121#818121

#818121 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.5% C 0.114 H 109.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#818121
RGBrgb(129, 129, 33)
HSLhsl(60, 59%, 32%)
HSVhsv(60, 74%, 51%)
CMYKcmyk(0%, 0%, 74.4%, 49.4%)
CIE-LABlab(52.37, -12.02, 48.81)
CIE-LCHlch(52.37, 50.26, 103.83°)
OKLaboklab(58.53% -0.0381 0.1078)
OKLCHoklch(58.53% 0.114 109.5)
XYZxyz(17.1786, 20.4780, 4.4863)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818121 #212181
analogous
#815121 #818121 #518121
triadic
#818121 #218181 #812181
tetradic
#818121 #218151 #212181 #812151
square
#818121 #218151 #212181 #812151
split-complementary
#818121 #215181 #512181
monochromatic
#202008 #505015 #818121 #B2B22D #D1D14B

Accessibility & contrast

On white

4.12
#818121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#818121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818121
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818121#FFFFFF#000000##000000
##8181211.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0F
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#8A786E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #818121;
/* rgb */ color: rgb(129, 129, 33);
/* oklch */ color: oklch(58.5% 0.114 109.5);
Tailwind
colors: {
  custom: {
    50: '#a9a564',
    500: '#818121',
    950: '#000000',
  },
}
SCSS
$custom: #818121;
$custom-light: #a9a564;
$custom-dark: #000000;
JSON
{
  "hex": "#818121",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 60,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5853,
    "c": 0.11434,
    "h": 109.5
  },
  "luminance": 0.20477
}

Semantic roles & 50–950 ramp

primary
#818121
secondary
#4A4AB4
accent
#45E245
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #818121

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

Preview Lab → · Contrast checker → · Palette generator →

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