#818D22#818D22

#818D22 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.4% C 0.127 H 115.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#818D22
RGBrgb(129, 141, 34)
HSLhsl(67, 61%, 34%)
HSVhsv(67, 76%, 55%)
CMYKcmyk(8.5%, 0%, 75.9%, 44.7%)
CIE-LABlab(55.92, -18.33, 51.81)
CIE-LCHlch(55.92, 54.96, 109.48°)
OKLaboklab(61.37% -0.0556 0.1144)
OKLCHoklch(61.37% 0.127 115.9)
XYZxyz(18.8674, 23.8327, 5.1193)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818D22 #2E228D
analogous
#8D6422 #818D22 #4C8D22
triadic
#818D22 #22818D #8D2281
tetradic
#818D22 #228D64 #2E228D #8D224C
square
#818D22 #228D64 #2E228D #8D224C
split-complementary
#818D22 #224C8D #64228D
monochromatic
#272A0A #545C16 #818D22 #AEBE2E #C7D654

Accessibility & contrast

On white

3.64
#818D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#818D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818D22
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818D22#FFFFFF#000000##000000
##818D221.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850A
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#8A8579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #818d22;
/* rgb */ color: rgb(129, 141, 34);
/* oklch */ color: oklch(61.4% 0.127 115.9);
Tailwind
colors: {
  custom: {
    50: '#a9ae66',
    500: '#818d22',
    950: '#000000',
  },
}
SCSS
$custom: #818d22;
$custom-light: #a9ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#818d22",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 66.729,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61372,
    "c": 0.12714,
    "h": 115.9
  },
  "luminance": 0.23832
}

Semantic roles & 50–950 ramp

primary
#818D22
secondary
#5D51B9
accent
#44E456
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818D22

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

Preview Lab → · Contrast checker → · Palette generator →

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