#818519#818519

#818519 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.4% C 0.123 H 111.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#818519
RGBrgb(129, 133, 25)
HSLhsl(62, 68%, 31%)
HSVhsv(62, 81%, 52%)
CMYKcmyk(3%, 0%, 81.2%, 47.8%)
CIE-LABlab(53.51, -14.52, 52.56)
CIE-LCHlch(53.51, 54.53, 105.44°)
OKLaboklab(59.42% -0.0458 0.1143)
OKLCHoklch(59.42% 0.123 111.8)
XYZxyz(17.6169, 21.5128, 4.1439)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818519 #1D1985
analogous
#855319 #818519 #4B8519
triadic
#818519 #198185 #851981
tetradic
#818519 #198553 #1D1985 #85194B
square
#818519 #198553 #1D1985 #85194B
split-complementary
#818519 #194B85 #531985
monochromatic
#1D1E06 #4F510F #818519 #B3B923 #D5DB3E

Accessibility & contrast

On white

3.96
#818519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#818519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818519
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818519#FFFFFF#000000##000000
##8185191.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#908123
Tritanopia (blue-blind)
#8A7C71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #818519;
/* rgb */ color: rgb(129, 133, 25);
/* oklch */ color: oklch(59.4% 0.123 111.8);
Tailwind
colors: {
  custom: {
    50: '#a9a861',
    500: '#818519',
    950: '#000000',
  },
}
SCSS
$custom: #818519;
$custom-light: #a9a861;
$custom-dark: #000000;
JSON
{
  "hex": "#818519",
  "rgb": {
    "r": 129,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 62.222,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.59422,
    "c": 0.12309,
    "h": 111.8
  },
  "luminance": 0.21512
}

Semantic roles & 50–950 ramp

primary
#818519
secondary
#4641B9
accent
#3DEB43
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #818519

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

Preview Lab → · Contrast checker → · Palette generator →

#818519 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva