#818D15#818D15

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

Color values

HEX#818D15
RGBrgb(129, 141, 21)
HSLhsl(66, 74%, 32%)
HSVhsv(66, 85%, 55%)
CMYKcmyk(8.5%, 0%, 85.1%, 44.7%)
CIE-LABlab(55.86, -18.85, 55.72)
CIE-LCHlch(55.86, 58.83, 108.69°)
OKLaboklab(61.3% -0.058 0.1203)
OKLCHoklch(61.3% 0.134 115.8)
XYZxyz(18.7140, 23.7713, 4.3118)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818D15 #21158D
analogous
#8D5D15 #818D15 #458D15
triadic
#818D15 #15818D #8D1581
tetradic
#818D15 #158D5D #21158D #8D1545
square
#818D15 #158D5D #21158D #8D1545
split-complementary
#818D15 #15458D #5D158D
monochromatic
#202205 #50580D #818D15 #B2C21D #D1E23B

Accessibility & contrast

On white

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

On black

5.75
#818D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818D15
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818D15#FFFFFF#000000##000000
##818D151.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #818d15;
/* rgb */ color: rgb(129, 141, 21);
/* oklch */ color: oklch(61.3% 0.134 115.8);
Tailwind
colors: {
  custom: {
    50: '#a9ae60',
    500: '#818d15',
    950: '#000000',
  },
}
SCSS
$custom: #818d15;
$custom-light: #a9ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#818d15",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 66,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61303,
    "c": 0.13359,
    "h": 115.8
  },
  "luminance": 0.23771
}

Semantic roles & 50–950 ramp

primary
#818D15
secondary
#4A3DC1
accent
#37F14A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818D15

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

Preview Lab → · Contrast checker → · Palette generator →

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