#818D16#818D16

#818D16 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.3% C 0.133 H 115.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#818D16
RGBrgb(129, 141, 22)
HSLhsl(66, 73%, 32%)
HSVhsv(66, 84%, 55%)
CMYKcmyk(8.5%, 0%, 84.4%, 44.7%)
CIE-LABlab(55.86, -18.82, 55.47)
CIE-LCHlch(55.86, 58.57, 108.74°)
OKLaboklab(61.31% -0.0579 0.1199)
OKLCHoklch(61.31% 0.133 115.8)
XYZxyz(18.7235, 23.7751, 4.3616)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818D16 #22168D
analogous
#8D5D16 #818D16 #468D16
triadic
#818D16 #16818D #8D1681
tetradic
#818D16 #168D5D #22168D #8D1646
square
#818D16 #168D5D #22168D #8D1646
split-complementary
#818D16 #16468D #5D168D
monochromatic
#202305 #51580E #818D16 #B1C21E #D0E13D

Accessibility & contrast

On white

3.65
#818D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#818D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818D16
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818D16#FFFFFF#000000##000000
##818D161.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#978723
Tritanopia (blue-blind)
#8A8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #818d16;
/* rgb */ color: rgb(129, 141, 22);
/* oklch */ color: oklch(61.3% 0.133 115.8);
Tailwind
colors: {
  custom: {
    50: '#a9ae61',
    500: '#818d16',
    950: '#000000',
  },
}
SCSS
$custom: #818d16;
$custom-light: #a9ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#818d16",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 66.05,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61307,
    "c": 0.13318,
    "h": 115.8
  },
  "luminance": 0.23775
}

Semantic roles & 50–950 ramp

primary
#818D16
secondary
#4B3EC1
accent
#38F04B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818D16

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

Preview Lab → · Contrast checker → · Palette generator →

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