#818E11#818E11

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

Color values

HEX#818E11
RGBrgb(129, 142, 17)
HSLhsl(66, 79%, 31%)
HSVhsv(66, 88%, 56%)
CMYKcmyk(9.2%, 0%, 88%, 44.3%)
CIE-LABlab(56.14, -19.49, 56.91)
CIE-LCHlch(56.14, 60.15, 108.90°)
OKLaboklab(61.53% -0.06 0.1222)
OKLCHoklch(61.53% 0.136 116.2)
XYZxyz(18.8280, 24.0539, 4.1812)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E11 #1E118E
analogous
#8E5C11 #818E11 #428E11
triadic
#818E11 #11818E #8E1181
tetradic
#818E11 #118E5C #1E118E #8E1142
square
#818E11 #118E5C #1E118E #8E1142
split-complementary
#818E11 #11428E #5C118E
monochromatic
#1E2104 #4F570A #818E11 #B3C518 #D4E733

Accessibility & contrast

On white

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

On black

5.81
#818E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818E11
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818E11#FFFFFF#000000##000000
##818E111.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#988720
Tritanopia (blue-blind)
#8A8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e11;
/* rgb */ color: rgb(129, 142, 17);
/* oklch */ color: oklch(61.5% 0.136 116.2);
Tailwind
colors: {
  custom: {
    50: '#a9ae5f',
    500: '#818e11',
    950: '#000000',
  },
}
SCSS
$custom: #818e11;
$custom-light: #a9ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#818e11",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 66.24,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.61527,
    "c": 0.13617,
    "h": 116.2
  },
  "luminance": 0.24054
}

Semantic roles & 50–950 ramp

primary
#818E11
secondary
#4738C2
accent
#33F547
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818E11

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

Preview Lab → · Contrast checker → · Palette generator →

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