#818019#818019

#818019 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.118 H 109.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#818019
RGBrgb(129, 128, 25)
HSLhsl(59, 68%, 30%)
HSVhsv(59, 81%, 51%)
CMYKcmyk(0%, 0.8%, 80.6%, 49.4%)
CIE-LABlab(52.04, -11.83, 51.26)
CIE-LCHlch(52.04, 52.60, 103.00°)
OKLaboklab(58.25% -0.0383 0.1115)
OKLCHoklch(58.25% 0.118 109)
XYZxyz(16.9486, 20.1762, 3.9211)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818019 #191A81
analogous
#814C19 #818019 #4E8119
triadic
#818019 #198180 #801981
tetradic
#818019 #19814C #191A81 #81194E
square
#818019 #19814C #191A81 #81194E
split-complementary
#818019 #194E81 #4C1981
monochromatic
#1A1A05 #4E4D0F #818019 #B4B323 #D9D83B

Accessibility & contrast

On white

4.17
#818019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#818019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818019
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818019#FFFFFF#000000##000000
##8180191.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8C7E22
Tritanopia (blue-blind)
#8B776D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #818019;
/* rgb */ color: rgb(129, 128, 25);
/* oklch */ color: oklch(58.2% 0.118 109.0);
Tailwind
colors: {
  custom: {
    50: '#a9a460',
    500: '#818019',
    950: '#000000',
  },
}
SCSS
$custom: #818019;
$custom-light: #a9a460;
$custom-dark: #000000;
JSON
{
  "hex": "#818019",
  "rgb": {
    "r": 129,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 59.423,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.58246,
    "c": 0.11787,
    "h": 109
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#818019
secondary
#4142B5
accent
#3FEA3D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818019

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

Preview Lab → · Contrast checker → · Palette generator →

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