#818E14#818E14

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

Color values

HEX#818E14
RGBrgb(129, 142, 20)
HSLhsl(66, 75%, 32%)
HSVhsv(66, 86%, 56%)
CMYKcmyk(9.2%, 0%, 85.9%, 44.3%)
CIE-LABlab(56.15, -19.40, 56.22)
CIE-LCHlch(56.15, 59.47, 109.04°)
OKLaboklab(61.54% -0.0596 0.1212)
OKLCHoklch(61.54% 0.135 116.2)
XYZxyz(18.8531, 24.0639, 4.3133)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E14 #21148E
analogous
#8E5E14 #818E14 #448E14
triadic
#818E14 #14818E #8E1481
tetradic
#818E14 #148E5E #21148E #8E1444
square
#818E14 #148E5E #21148E #8E1444
split-complementary
#818E14 #14448E #5E148E
monochromatic
#202305 #50580C #818E14 #B2C41C #D1E339

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818E14#FFFFFF#000000##000000
##818E141.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)
#988722
Tritanopia (blue-blind)
#8A8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e14;
/* rgb */ color: rgb(129, 142, 20);
/* oklch */ color: oklch(61.5% 0.135 116.2);
Tailwind
colors: {
  custom: {
    50: '#a9ae60',
    500: '#818e14',
    950: '#000000',
  },
}
SCSS
$custom: #818e14;
$custom-light: #a9ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#818e14",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 20
  },
  "hsl": {
    "h": 66.393,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61538,
    "c": 0.13509,
    "h": 116.2
  },
  "luminance": 0.24064
}

Semantic roles & 50–950 ramp

primary
#818E14
secondary
#4A3CC2
accent
#36F24A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818E14

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

Preview Lab → · Contrast checker → · Palette generator →

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