#818917#818917

#818917 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.4% C 0.128 H 113.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#818917
RGBrgb(129, 137, 23)
HSLhsl(64, 71%, 31%)
HSVhsv(64, 83%, 54%)
CMYKcmyk(5.8%, 0%, 83.2%, 46.3%)
CIE-LABlab(54.68, -16.70, 54.18)
CIE-LCHlch(54.68, 56.69, 107.14°)
OKLaboklab(60.36% -0.052 0.1173)
OKLCHoklch(60.36% 0.128 113.9)
XYZxyz(18.1542, 22.6207, 4.2203)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818917 #1F1789
analogous
#895817 #818917 #488917
triadic
#818917 #178189 #891781
tetradic
#818917 #178958 #1F1789 #891748
square
#818917 #178958 #1F1789 #891748
split-complementary
#818917 #174889 #581789
monochromatic
#1E2005 #50550E #818917 #B2BD20 #D3DE3C

Accessibility & contrast

On white

3.80
#818917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#818917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818917
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818917#FFFFFF#000000##000000
##8189171.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#8A8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #818917;
/* rgb */ color: rgb(129, 137, 23);
/* oklch */ color: oklch(60.4% 0.128 113.9);
Tailwind
colors: {
  custom: {
    50: '#a9ab61',
    500: '#818917',
    950: '#000000',
  },
}
SCSS
$custom: #818917;
$custom-light: #a9ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#818917",
  "rgb": {
    "r": 129,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 64.211,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60359,
    "c": 0.12834,
    "h": 113.9
  },
  "luminance": 0.2262
}

Semantic roles & 50–950 ramp

primary
#818917
secondary
#483FBD
accent
#3AEE46
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818917

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

Preview Lab → · Contrast checker → · Palette generator →

#818917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva