#818F17#818F17

#818F17 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.8% C 0.135 H 116.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#818F17
RGBrgb(129, 143, 23)
HSLhsl(67, 72%, 33%)
HSVhsv(67, 84%, 56%)
CMYKcmyk(9.8%, 0%, 83.9%, 43.9%)
CIE-LABlab(56.46, -19.82, 55.72)
CIE-LCHlch(56.46, 59.14, 109.58°)
OKLaboklab(61.79% -0.0606 0.1207)
OKLCHoklch(61.79% 0.135 116.7)
XYZxyz(19.0309, 24.3742, 4.5126)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818F17 #25178F
analogous
#8F6117 #818F17 #458F17
triadic
#818F17 #17818F #8F1781
tetradic
#818F17 #178F61 #25178F #8F1745
square
#818F17 #178F61 #25178F #8F1745
split-complementary
#818F17 #17458F #61178F
monochromatic
#222606 #515A0F #818F17 #B1C41F #CEE040

Accessibility & contrast

On white

3.57
#818F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#818F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818F17
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818F17#FFFFFF#000000##000000
##818F171.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#8A867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818f17;
/* rgb */ color: rgb(129, 143, 23);
/* oklch */ color: oklch(61.8% 0.135 116.7);
Tailwind
colors: {
  custom: {
    50: '#a9af61',
    500: '#818f17',
    950: '#000000',
  },
}
SCSS
$custom: #818f17;
$custom-light: #a9af61;
$custom-dark: #000000;
JSON
{
  "hex": "#818f17",
  "rgb": {
    "r": 129,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 67,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.6179,
    "c": 0.135,
    "h": 116.7
  },
  "luminance": 0.24374
}

Semantic roles & 50–950 ramp

primary
#818F17
secondary
#5041C1
accent
#39EF4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818F17

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

Preview Lab → · Contrast checker → · Palette generator →

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