#818E17#818E17

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

Color values

HEX#818E17
RGBrgb(129, 142, 23)
HSLhsl(67, 72%, 32%)
HSVhsv(67, 84%, 56%)
CMYKcmyk(9.2%, 0%, 83.8%, 44.3%)
CIE-LABlab(56.16, -19.30, 55.46)
CIE-LCHlch(56.16, 58.73, 109.19°)
OKLaboklab(61.55% -0.0591 0.1201)
OKLCHoklch(61.55% 0.134 116.2)
XYZxyz(18.8815, 24.0753, 4.4628)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E17 #24178E
analogous
#8E6017 #818E17 #458E17
triadic
#818E17 #17818E #8E1781
tetradic
#818E17 #178E60 #24178E #8E1745
square
#818E17 #178E60 #24178E #8E1745
split-complementary
#818E17 #17458E #60178E
monochromatic
#212506 #51590E #818E17 #B1C320 #CEE03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818E17#FFFFFF#000000##000000
##818E171.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)
#998600
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#8A8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e17;
/* rgb */ color: rgb(129, 142, 23);
/* oklch */ color: oklch(61.6% 0.134 116.2);
Tailwind
colors: {
  custom: {
    50: '#a9ae61',
    500: '#818e17',
    950: '#000000',
  },
}
SCSS
$custom: #818e17;
$custom-light: #a9ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#818e17",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 66.555,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61551,
    "c": 0.13388,
    "h": 116.2
  },
  "luminance": 0.24075
}

Semantic roles & 50–950 ramp

primary
#818E17
secondary
#4E40C0
accent
#39EF4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818E17

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

Preview Lab → · Contrast checker → · Palette generator →

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