#818E15#818E15

#818E15 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.5% C 0.135 H 116.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#818E15
RGBrgb(129, 142, 21)
HSLhsl(66, 74%, 32%)
HSVhsv(66, 85%, 56%)
CMYKcmyk(9.2%, 0%, 85.2%, 44.3%)
CIE-LABlab(56.16, -19.37, 55.98)
CIE-LCHlch(56.16, 59.23, 109.09°)
OKLaboklab(61.54% -0.0595 0.1209)
OKLCHoklch(61.54% 0.135 116.2)
XYZxyz(18.8622, 24.0676, 4.3612)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E15 #22158E
analogous
#8E5F15 #818E15 #458E15
triadic
#818E15 #15818E #8E1581
tetradic
#818E15 #158E5F #22158E #8E1545
square
#818E15 #158E5F #22158E #8E1545
split-complementary
#818E15 #15458E #5F158E
monochromatic
#202305 #51590D #818E15 #B1C31D #D0E23B

Accessibility & contrast

On white

3.61
#818E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#818E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818E15
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818E15#FFFFFF#000000##000000
##818E151.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#988722
Tritanopia (blue-blind)
#8A8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e15;
/* rgb */ color: rgb(129, 142, 21);
/* oklch */ color: oklch(61.5% 0.135 116.2);
Tailwind
colors: {
  custom: {
    50: '#a9ae61',
    500: '#818e15',
    950: '#000000',
  },
}
SCSS
$custom: #818e15;
$custom-light: #a9ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#818e15",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 66.446,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61542,
    "c": 0.1347,
    "h": 116.2
  },
  "luminance": 0.24067
}

Semantic roles & 50–950 ramp

primary
#818E15
secondary
#4B3DC2
accent
#37F14B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818E15

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

Preview Lab → · Contrast checker → · Palette generator →

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