#818C16#818C16

#818C16 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.1% C 0.132 H 115.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#818C16
RGBrgb(129, 140, 22)
HSLhsl(66, 73%, 32%)
HSVhsv(66, 84%, 55%)
CMYKcmyk(7.9%, 0%, 84.3%, 45.1%)
CIE-LABlab(55.56, -18.30, 55.21)
CIE-LCHlch(55.56, 58.17, 108.34°)
OKLaboklab(61.07% -0.0565 0.1194)
OKLCHoklch(61.07% 0.132 115.3)
XYZxyz(18.5767, 23.4815, 4.3127)
Luminance0.2348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818C16 #21168C
analogous
#8C5C16 #818C16 #468C16
triadic
#818C16 #16818C #8C1681
tetradic
#818C16 #168C5C #21168C #8C1646
square
#818C16 #168C5C #21168C #8C1646
split-complementary
#818C16 #16468C #5C168C
monochromatic
#202205 #50570E #818C16 #B2C11E #D1E03C

Accessibility & contrast

On white

3.69
#818C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#818C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818C16
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818C16#FFFFFF#000000##000000
##818C161.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#8A8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #818c16;
/* rgb */ color: rgb(129, 140, 22);
/* oklch */ color: oklch(61.1% 0.132 115.3);
Tailwind
colors: {
  custom: {
    50: '#a9ad61',
    500: '#818c16',
    950: '#000000',
  },
}
SCSS
$custom: #818c16;
$custom-light: #a9ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#818c16",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 65.593,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61069,
    "c": 0.13207,
    "h": 115.3
  },
  "luminance": 0.23481
}

Semantic roles & 50–950 ramp

primary
#818C16
secondary
#4A3EC0
accent
#38F049
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818C16

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

Preview Lab → · Contrast checker → · Palette generator →

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