#818219#818219

#818219 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.7% C 0.120 H 110.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#818219
RGBrgb(129, 130, 25)
HSLhsl(61, 68%, 30%)
HSVhsv(61, 81%, 51%)
CMYKcmyk(0.8%, 0%, 80.8%, 49%)
CIE-LABlab(52.62, -12.91, 51.78)
CIE-LCHlch(52.62, 53.37, 104.00°)
OKLaboklab(58.72% -0.0413 0.1126)
OKLCHoklch(58.72% 0.12 110.2)
XYZxyz(17.2120, 20.7031, 4.0089)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818219 #1A1982
analogous
#824E19 #818219 #4D8219
triadic
#818219 #198182 #821981
tetradic
#818219 #19824E #1A1982 #82194D
square
#818219 #19824E #1A1982 #82194D
split-complementary
#818219 #194D82 #4E1982
monochromatic
#1B1B05 #4E4F0F #818219 #B4B523 #D8D93C

Accessibility & contrast

On white

4.09
#818219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#818219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818219
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818219#FFFFFF#000000##000000
##8182191.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#8B796F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #818219;
/* rgb */ color: rgb(129, 130, 25);
/* oklch */ color: oklch(58.7% 0.120 110.2);
Tailwind
colors: {
  custom: {
    50: '#a9a660',
    500: '#818219',
    950: '#000000',
  },
}
SCSS
$custom: #818219;
$custom-light: #a9a660;
$custom-dark: #000000;
JSON
{
  "hex": "#818219",
  "rgb": {
    "r": 129,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 60.571,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58715,
    "c": 0.11993,
    "h": 110.2
  },
  "luminance": 0.20703
}

Semantic roles & 50–950 ramp

primary
#818219
secondary
#4241B6
accent
#3DEB3F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #818219

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

Preview Lab → · Contrast checker → · Palette generator →

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