#818921#818921

#818921 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.4% C 0.123 H 114.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#818921
RGBrgb(129, 137, 33)
HSLhsl(65, 61%, 33%)
HSVhsv(65, 76%, 54%)
CMYKcmyk(5.8%, 0%, 75.9%, 46.3%)
CIE-LABlab(54.73, -16.29, 51.04)
CIE-LCHlch(54.73, 53.58, 107.70°)
OKLaboklab(60.42% -0.05 0.1125)
OKLCHoklch(60.42% 0.123 114)
XYZxyz(18.2740, 22.6686, 4.8514)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818921 #292189
analogous
#895D21 #818921 #4D8921
triadic
#818921 #218189 #892181
tetradic
#818921 #21895D #292189 #89214D
square
#818921 #21895D #292189 #89214D
split-complementary
#818921 #214D89 #5D2189
monochromatic
#242609 #535815 #818921 #AFBA2D #CBD550

Accessibility & contrast

On white

3.79
#818921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#818921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818921
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818921#FFFFFF#000000##000000
##8189211.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820A
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#8A8175
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #818921;
/* rgb */ color: rgb(129, 137, 33);
/* oklch */ color: oklch(60.4% 0.123 114.0);
Tailwind
colors: {
  custom: {
    50: '#a9ab65',
    500: '#818921',
    950: '#000000',
  },
}
SCSS
$custom: #818921;
$custom-light: #a9ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#818921",
  "rgb": {
    "r": 129,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 64.615,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.12314,
    "h": 114
  },
  "luminance": 0.22668
}

Semantic roles & 50–950 ramp

primary
#818921
secondary
#564EB8
accent
#44E450
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818921

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

Preview Lab → · Contrast checker → · Palette generator →

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