#818D13#818D13

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

Color values

HEX#818D13
RGBrgb(129, 141, 19)
HSLhsl(66, 76%, 31%)
HSVhsv(66, 87%, 55%)
CMYKcmyk(8.5%, 0%, 86.5%, 44.7%)
CIE-LABlab(55.85, -18.92, 56.21)
CIE-LCHlch(55.85, 59.31, 108.60°)
OKLaboklab(61.3% -0.0583 0.121)
OKLCHoklch(61.3% 0.134 115.7)
XYZxyz(18.6962, 23.7642, 4.2180)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818D13 #1F138D
analogous
#8D5C13 #818D13 #448D13
triadic
#818D13 #13818D #8D1381
tetradic
#818D13 #138D5C #1F138D #8D1344
square
#818D13 #138D5C #1F138D #8D1344
split-complementary
#818D13 #13448D #5C138D
monochromatic
#1E2104 #50570C #818D13 #B2C31A #D3E436

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818D13#FFFFFF#000000##000000
##818D131.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)
#978721
Tritanopia (blue-blind)
#8A8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #818d13;
/* rgb */ color: rgb(129, 141, 19);
/* oklch */ color: oklch(61.3% 0.134 115.7);
Tailwind
colors: {
  custom: {
    50: '#a9ae60',
    500: '#818d13',
    950: '#000000',
  },
}
SCSS
$custom: #818d13;
$custom-light: #a9ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#818d13",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 19
  },
  "hsl": {
    "h": 65.902,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.61295,
    "c": 0.13436,
    "h": 115.7
  },
  "luminance": 0.23764
}

Semantic roles & 50–950 ramp

primary
#818D13
secondary
#483BC1
accent
#35F348
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818D13

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

Preview Lab → · Contrast checker → · Palette generator →

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