#818A16#818A16

#818A16 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.6% C 0.130 H 114.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#818A16
RGBrgb(129, 138, 22)
HSLhsl(65, 73%, 31%)
HSVhsv(65, 84%, 54%)
CMYKcmyk(6.5%, 0%, 84.1%, 45.9%)
CIE-LABlab(54.97, -17.26, 54.70)
CIE-LCHlch(54.97, 57.36, 107.51°)
OKLaboklab(60.59% -0.0536 0.1183)
OKLCHoklch(60.59% 0.13 114.4)
XYZxyz(18.2871, 22.9024, 4.2162)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818A16 #1F168A
analogous
#8A5916 #818A16 #478A16
triadic
#818A16 #16818A #8A1681
tetradic
#818A16 #168A59 #1F168A #8A1647
square
#818A16 #168A59 #1F168A #8A1647
split-complementary
#818A16 #16478A #59168A
monochromatic
#1E2005 #50550E #818A16 #B2BF1E #D3E03B

Accessibility & contrast

On white

3.76
#818A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#818A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818A16
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818A16#FFFFFF#000000##000000
##818A161.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#948522
Tritanopia (blue-blind)
#8A8175
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #818a16;
/* rgb */ color: rgb(129, 138, 22);
/* oklch */ color: oklch(60.6% 0.130 114.4);
Tailwind
colors: {
  custom: {
    50: '#a9ac60',
    500: '#818a16',
    950: '#000000',
  },
}
SCSS
$custom: #818a16;
$custom-light: #a9ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#818a16",
  "rgb": {
    "r": 129,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 64.655,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60593,
    "c": 0.12987,
    "h": 114.4
  },
  "luminance": 0.22902
}

Semantic roles & 50–950 ramp

primary
#818A16
secondary
#483EBE
accent
#39EF47
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818A16

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

Preview Lab → · Contrast checker → · Palette generator →

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