#818D18#818D18

#818D18 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.3% C 0.132 H 115.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#818D18
RGBrgb(129, 141, 24)
HSLhsl(66, 71%, 32%)
HSVhsv(66, 83%, 55%)
CMYKcmyk(8.5%, 0%, 83%, 44.7%)
CIE-LABlab(55.87, -18.75, 54.93)
CIE-LCHlch(55.87, 58.05, 108.85°)
OKLaboklab(61.32% -0.0576 0.1192)
OKLCHoklch(61.32% 0.132 115.8)
XYZxyz(18.7436, 23.7831, 4.4672)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818D18 #24188D
analogous
#8D5F18 #818D18 #468D18
triadic
#818D18 #18818D #8D1881
tetradic
#818D18 #188D5F #24188D #8D1846
square
#818D18 #188D5F #24188D #8D1846
split-complementary
#818D18 #18468D #5F188D
monochromatic
#212406 #51590F #818D18 #B1C121 #CEDF41

Accessibility & contrast

On white

3.65
#818D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#818D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818D18
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818D18#FFFFFF#000000##000000
##818D181.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#8A8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #818d18;
/* rgb */ color: rgb(129, 141, 24);
/* oklch */ color: oklch(61.3% 0.132 115.8);
Tailwind
colors: {
  custom: {
    50: '#a9ae62',
    500: '#818d18',
    950: '#000000',
  },
}
SCSS
$custom: #818d18;
$custom-light: #a9ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#818d18",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 66.154,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61316,
    "c": 0.13232,
    "h": 115.8
  },
  "luminance": 0.23783
}

Semantic roles & 50–950 ramp

primary
#818D18
secondary
#4E42BF
accent
#3AEE4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818D18

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

Preview Lab → · Contrast checker → · Palette generator →

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