#818E22#818E22

#818E22 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.6% C 0.128 H 116.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#818E22
RGBrgb(129, 142, 34)
HSLhsl(67, 61%, 35%)
HSVhsv(67, 76%, 56%)
CMYKcmyk(9.2%, 0%, 76.1%, 44.3%)
CIE-LABlab(56.22, -18.85, 52.09)
CIE-LCHlch(56.22, 55.40, 109.89°)
OKLaboklab(61.61% -0.057 0.1149)
OKLCHoklch(61.61% 0.128 116.4)
XYZxyz(19.0155, 24.1289, 5.1687)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E22 #2F228E
analogous
#8E6522 #818E22 #4B8E22
triadic
#818E22 #22818E #8E2281
tetradic
#818E22 #228E65 #2F228E #8E224B
square
#818E22 #228E65 #2F228E #8E224B
split-complementary
#818E22 #224B8E #65228E
monochromatic
#272B0A #545D16 #818E22 #AEBF2E #C6D654

Accessibility & contrast

On white

3.60
#818E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#818E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818E22
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818E22#FFFFFF#000000##000000
##818E221.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860A
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#89867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e22;
/* rgb */ color: rgb(129, 142, 34);
/* oklch */ color: oklch(61.6% 0.128 116.4);
Tailwind
colors: {
  custom: {
    50: '#a9af66',
    500: '#818e22',
    950: '#000000',
  },
}
SCSS
$custom: #818e22;
$custom-light: #a9af66;
$custom-dark: #000000;
JSON
{
  "hex": "#818e22",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 67.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61611,
    "c": 0.1283,
    "h": 116.4
  },
  "luminance": 0.24129
}

Semantic roles & 50–950 ramp

primary
#818E22
secondary
#5E52BA
accent
#43E457
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818E22

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

Preview Lab → · Contrast checker → · Palette generator →

#818E22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva