#818A17#818A17

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

Color values

HEX#818A17
RGBrgb(129, 138, 23)
HSLhsl(65, 71%, 32%)
HSVhsv(65, 83%, 54%)
CMYKcmyk(6.5%, 0%, 83.3%, 45.9%)
CIE-LABlab(54.98, -17.23, 54.43)
CIE-LCHlch(54.98, 57.09, 107.56°)
OKLaboklab(60.6% -0.0534 0.1179)
OKLCHoklch(60.6% 0.129 114.4)
XYZxyz(18.2970, 22.9063, 4.2680)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818A17 #20178A
analogous
#8A5A17 #818A17 #488A17
triadic
#818A17 #17818A #8A1781
tetradic
#818A17 #178A5A #20178A #8A1748
square
#818A17 #178A5A #20178A #8A1748
split-complementary
#818A17 #17488A #5A178A
monochromatic
#1F2106 #50560E #818A17 #B2BE20 #D2DF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818A17#FFFFFF#000000##000000
##818A171.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)
#948523
Tritanopia (blue-blind)
#8A8175
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #818a17;
/* rgb */ color: rgb(129, 138, 23);
/* oklch */ color: oklch(60.6% 0.129 114.4);
Tailwind
colors: {
  custom: {
    50: '#a9ac61',
    500: '#818a17',
    950: '#000000',
  },
}
SCSS
$custom: #818a17;
$custom-light: #a9ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#818a17",
  "rgb": {
    "r": 129,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 64.696,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60597,
    "c": 0.12944,
    "h": 114.4
  },
  "luminance": 0.22906
}

Semantic roles & 50–950 ramp

primary
#818A17
secondary
#493FBE
accent
#3AEE48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818A17

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

Preview Lab → · Contrast checker → · Palette generator →

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