#818919#818919

#818919 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.4% C 0.127 H 113.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#818919
RGBrgb(129, 137, 25)
HSLhsl(64, 69%, 32%)
HSVhsv(64, 82%, 54%)
CMYKcmyk(5.8%, 0%, 81.8%, 46.3%)
CIE-LABlab(54.69, -16.63, 53.61)
CIE-LCHlch(54.69, 56.13, 107.23°)
OKLaboklab(60.37% -0.0516 0.1165)
OKLCHoklch(60.37% 0.127 113.9)
XYZxyz(18.1750, 22.6290, 4.3299)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818919 #211989
analogous
#895919 #818919 #498919
triadic
#818919 #198189 #891981
tetradic
#818919 #198959 #211989 #891949
square
#818919 #198959 #211989 #891949
split-complementary
#818919 #194989 #591989
monochromatic
#202106 #505510 #818919 #B2BD22 #D1DC40

Accessibility & contrast

On white

3.80
#818919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#818919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818919
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818919#FFFFFF#000000##000000
##8189191.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#938424
Tritanopia (blue-blind)
#8A8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #818919;
/* rgb */ color: rgb(129, 137, 25);
/* oklch */ color: oklch(60.4% 0.127 113.9);
Tailwind
colors: {
  custom: {
    50: '#a9ab61',
    500: '#818919',
    950: '#000000',
  },
}
SCSS
$custom: #818919;
$custom-light: #a9ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#818919",
  "rgb": {
    "r": 129,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 64.286,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60369,
    "c": 0.12743,
    "h": 113.9
  },
  "luminance": 0.22629
}

Semantic roles & 50–950 ramp

primary
#818919
secondary
#4A41BC
accent
#3CEC48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818919

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

Preview Lab → · Contrast checker → · Palette generator →

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