#818D1A#818D1A

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

Color values

HEX#818D1A
RGBrgb(129, 141, 26)
HSLhsl(66, 69%, 33%)
HSVhsv(66, 82%, 55%)
CMYKcmyk(8.5%, 0%, 81.6%, 44.7%)
CIE-LABlab(55.88, -18.68, 54.37)
CIE-LCHlch(55.88, 57.49, 108.96°)
OKLaboklab(61.33% -0.0572 0.1183)
OKLCHoklch(61.33% 0.131 115.8)
XYZxyz(18.7651, 23.7918, 4.5808)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818D1A #261A8D
analogous
#8D5F1A #818D1A #478D1A
triadic
#818D1A #1A818D #8D1A81
tetradic
#818D1A #1A8D5F #261A8D #8D1A47
square
#818D1A #1A8D5F #261A8D #8D1A47
split-complementary
#818D1A #1A478D #5F1A8D
monochromatic
#222607 #525910 #818D1A #B0C124 #CDDD45

Accessibility & contrast

On white

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

On black

5.76
#818D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818D1A
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818D1A#FFFFFF#000000##000000
##818D1A1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#8A8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #818d1a;
/* rgb */ color: rgb(129, 141, 26);
/* oklch */ color: oklch(61.3% 0.131 115.8);
Tailwind
colors: {
  custom: {
    50: '#a9ae62',
    500: '#818d1a',
    950: '#000000',
  },
}
SCSS
$custom: #818d1a;
$custom-light: #a9ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#818d1a",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 66.261,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61326,
    "c": 0.13141,
    "h": 115.8
  },
  "luminance": 0.23791
}

Semantic roles & 50–950 ramp

primary
#818D1A
secondary
#5145BE
accent
#3CEC4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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