#818922#818922

#818922 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#818922
RGBrgb(129, 137, 34)
HSLhsl(65, 60%, 34%)
HSVhsv(65, 75%, 54%)
CMYKcmyk(5.8%, 0%, 75.2%, 46.3%)
CIE-LABlab(54.74, -16.24, 50.69)
CIE-LCHlch(54.74, 53.23, 107.76°)
OKLaboklab(60.42% -0.0498 0.112)
OKLCHoklch(60.42% 0.123 114)
XYZxyz(18.2882, 22.6743, 4.9263)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818922 #2A2289
analogous
#895D22 #818922 #4D8922
triadic
#818922 #228189 #892281
tetradic
#818922 #22895D #2A2289 #89224D
square
#818922 #22895D #2A2289 #89224D
split-complementary
#818922 #224D89 #5D2289
monochromatic
#25270A #535816 #818922 #AFBA2E #CAD451

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818922#FFFFFF#000000##000000
##8189221.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)
#93820D
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#8A8175
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #818922;
/* rgb */ color: rgb(129, 137, 34);
/* oklch */ color: oklch(60.4% 0.123 114.0);
Tailwind
colors: {
  custom: {
    50: '#a9ab65',
    500: '#818922',
    950: '#000000',
  },
}
SCSS
$custom: #818922;
$custom-light: #a9ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#818922",
  "rgb": {
    "r": 129,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 64.66,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60422,
    "c": 0.12253,
    "h": 114
  },
  "luminance": 0.22674
}

Semantic roles & 50–950 ramp

primary
#818922
secondary
#574FB8
accent
#44E351
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818922

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

Preview Lab → · Contrast checker → · Palette generator →

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