#818C17#818C17

#818C17 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.1% C 0.132 H 115.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#818C17
RGBrgb(129, 140, 23)
HSLhsl(66, 72%, 32%)
HSVhsv(66, 84%, 55%)
CMYKcmyk(7.9%, 0%, 83.6%, 45.1%)
CIE-LABlab(55.57, -18.27, 54.95)
CIE-LCHlch(55.57, 57.91, 108.39°)
OKLaboklab(61.07% -0.0563 0.119)
OKLCHoklch(61.07% 0.132 115.3)
XYZxyz(18.5866, 23.4855, 4.3645)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818C17 #22178C
analogous
#8C5D17 #818C17 #478C17
triadic
#818C17 #17818C #8C1781
tetradic
#818C17 #178C5D #22178C #8C1747
square
#818C17 #178C5D #22178C #8C1747
split-complementary
#818C17 #17478C #5D178C
monochromatic
#202306 #51570E #818C17 #B1C120 #D0DF3E

Accessibility & contrast

On white

3.69
#818C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#818C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818C17
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818C17#FFFFFF#000000##000000
##818C171.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#968623
Tritanopia (blue-blind)
#8A8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #818c17;
/* rgb */ color: rgb(129, 140, 23);
/* oklch */ color: oklch(61.1% 0.132 115.3);
Tailwind
colors: {
  custom: {
    50: '#a9ad61',
    500: '#818c17',
    950: '#000000',
  },
}
SCSS
$custom: #818c17;
$custom-light: #a9ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#818c17",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 65.641,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61073,
    "c": 0.13165,
    "h": 115.3
  },
  "luminance": 0.23485
}

Semantic roles & 50–950 ramp

primary
#818C17
secondary
#4B3FBF
accent
#39EF4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818C17

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

Preview Lab → · Contrast checker → · Palette generator →

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