#818E20#818E20

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

Color values

HEX#818E20
RGBrgb(129, 142, 32)
HSLhsl(67, 63%, 34%)
HSVhsv(67, 77%, 56%)
CMYKcmyk(9.2%, 0%, 77.5%, 44.3%)
CIE-LABlab(56.21, -18.94, 52.77)
CIE-LCHlch(56.21, 56.07, 109.74°)
OKLaboklab(61.6% -0.0574 0.116)
OKLCHoklch(61.6% 0.129 116.3)
XYZxyz(18.9875, 24.1177, 5.0212)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E20 #2D208E
analogous
#8E6420 #818E20 #4A8E20
triadic
#818E20 #20818E #8E2081
tetradic
#818E20 #208E64 #2D208E #8E204A
square
#818E20 #208E64 #2D208E #8E204A
split-complementary
#818E20 #204A8E #64208E
monochromatic
#262A09 #545C15 #818E20 #AEC02B #C8D851

Accessibility & contrast

On white

3.61
#818E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#818E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818E20
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818E20#FFFFFF#000000##000000
##818E201.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988604
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#8A8679
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e20;
/* rgb */ color: rgb(129, 142, 32);
/* oklch */ color: oklch(61.6% 0.129 116.3);
Tailwind
colors: {
  custom: {
    50: '#a9af65',
    500: '#818e20',
    950: '#000000',
  },
}
SCSS
$custom: #818e20;
$custom-light: #a9af65;
$custom-dark: #000000;
JSON
{
  "hex": "#818e20",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 67.091,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61598,
    "c": 0.12945,
    "h": 116.3
  },
  "luminance": 0.24117
}

Semantic roles & 50–950 ramp

primary
#818E20
secondary
#5C4FBB
accent
#42E655
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818E20

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

Preview Lab → · Contrast checker → · Palette generator →

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