#818E13#818E13

#818E13 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#818E13
RGBrgb(129, 142, 19)
HSLhsl(66, 76%, 32%)
HSVhsv(66, 87%, 56%)
CMYKcmyk(9.2%, 0%, 86.6%, 44.3%)
CIE-LABlab(56.15, -19.43, 56.46)
CIE-LCHlch(56.15, 59.71, 108.99°)
OKLaboklab(61.53% -0.0598 0.1216)
OKLCHoklch(61.53% 0.135 116.2)
XYZxyz(18.8444, 24.0604, 4.2674)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E13 #20138E
analogous
#8E5E13 #818E13 #448E13
triadic
#818E13 #13818E #8E1381
tetradic
#818E13 #138E5E #20138E #8E1344
square
#818E13 #138E5E #20138E #8E1344
split-complementary
#818E13 #13448E #5E138E
monochromatic
#1F2205 #50580C #818E13 #B2C41A #D2E437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818E13#FFFFFF#000000##000000
##818E131.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)
#988721
Tritanopia (blue-blind)
#8A8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e13;
/* rgb */ color: rgb(129, 142, 19);
/* oklch */ color: oklch(61.5% 0.135 116.2);
Tailwind
colors: {
  custom: {
    50: '#a9ae60',
    500: '#818e13',
    950: '#000000',
  },
}
SCSS
$custom: #818e13;
$custom-light: #a9ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#818e13",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 66.341,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61534,
    "c": 0.13546,
    "h": 116.2
  },
  "luminance": 0.2406
}

Semantic roles & 50–950 ramp

primary
#818E13
secondary
#493BC2
accent
#35F349
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818E13

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

Preview Lab → · Contrast checker → · Palette generator →

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