#818E16#818E16

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

Color values

HEX#818E16
RGBrgb(129, 142, 22)
HSLhsl(67, 73%, 32%)
HSVhsv(67, 85%, 56%)
CMYKcmyk(9.2%, 0%, 84.5%, 44.3%)
CIE-LABlab(56.16, -19.34, 55.72)
CIE-LCHlch(56.16, 58.98, 109.14°)
OKLaboklab(61.55% -0.0593 0.1205)
OKLCHoklch(61.55% 0.134 116.2)
XYZxyz(18.8716, 24.0713, 4.4110)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E16 #23168E
analogous
#8E5F16 #818E16 #458E16
triadic
#818E16 #16818E #8E1681
tetradic
#818E16 #168E5F #23168E #8E1645
square
#818E16 #168E5F #23168E #8E1645
split-complementary
#818E16 #16458E #5F168E
monochromatic
#212406 #51590E #818E16 #B1C31E #CFE13D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #818e16;
/* rgb */ color: rgb(129, 142, 22);
/* oklch */ color: oklch(61.5% 0.134 116.2);
Tailwind
colors: {
  custom: {
    50: '#a9ae61',
    500: '#818e16',
    950: '#000000',
  },
}
SCSS
$custom: #818e16;
$custom-light: #a9ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#818e16",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 66.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61546,
    "c": 0.1343,
    "h": 116.2
  },
  "luminance": 0.24071
}

Semantic roles & 50–950 ramp

primary
#818E16
secondary
#4D3FC1
accent
#38F04C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818E16

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

Preview Lab → · Contrast checker → · Palette generator →

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