#818B17#818B17

#818B17 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.8% C 0.131 H 114.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#818B17
RGBrgb(129, 139, 23)
HSLhsl(65, 72%, 32%)
HSVhsv(65, 83%, 55%)
CMYKcmyk(7.2%, 0%, 83.5%, 45.5%)
CIE-LABlab(55.27, -17.75, 54.69)
CIE-LCHlch(55.27, 57.50, 107.98°)
OKLaboklab(60.83% -0.0549 0.1185)
OKLCHoklch(60.83% 0.131 114.9)
XYZxyz(18.4411, 23.1946, 4.3160)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818B17 #21178B
analogous
#8B5B17 #818B17 #478B17
triadic
#818B17 #17818B #8B1781
tetradic
#818B17 #178B5B #21178B #8B1747
square
#818B17 #178B5B #21178B #8B1747
split-complementary
#818B17 #17478B #5B178B
monochromatic
#202206 #50560E #818B17 #B2C020 #D1DF3D

Accessibility & contrast

On white

3.72
#818B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#818B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818B17
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818B17#FFFFFF#000000##000000
##818B171.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#8A8276
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #818b17;
/* rgb */ color: rgb(129, 139, 23);
/* oklch */ color: oklch(60.8% 0.131 114.9);
Tailwind
colors: {
  custom: {
    50: '#a9ac61',
    500: '#818b17',
    950: '#000000',
  },
}
SCSS
$custom: #818b17;
$custom-light: #a9ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#818b17",
  "rgb": {
    "r": 129,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 65.172,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60835,
    "c": 0.13054,
    "h": 114.9
  },
  "luminance": 0.23194
}

Semantic roles & 50–950 ramp

primary
#818B17
secondary
#4A3FBF
accent
#39EE49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818B17

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

Preview Lab → · Contrast checker → · Palette generator →

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