#818D1D#818D1D

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

Color values

HEX#818D1D
RGBrgb(129, 141, 29)
HSLhsl(66, 66%, 33%)
HSVhsv(66, 79%, 55%)
CMYKcmyk(8.5%, 0%, 79.4%, 44.7%)
CIE-LABlab(55.89, -18.56, 53.46)
CIE-LCHlch(55.89, 56.59, 109.14°)
OKLaboklab(61.34% -0.0566 0.1169)
OKLCHoklch(61.34% 0.13 115.8)
XYZxyz(18.8004, 23.8059, 4.7668)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818D1D #291D8D
analogous
#8D611D #818D1D #498D1D
triadic
#818D1D #1D818D #8D1D81
tetradic
#818D1D #1D8D61 #291D8D #8D1D49
square
#818D1D #1D8D61 #291D8D #8D1D49
split-complementary
#818D1D #1D498D #611D8D
monochromatic
#242708 #535A13 #818D1D #AFC027 #CBDA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818D1D#FFFFFF#000000##000000
##818D1D1.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)
#968727
Tritanopia (blue-blind)
#8A8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #818d1d;
/* rgb */ color: rgb(129, 141, 29);
/* oklch */ color: oklch(61.3% 0.130 115.8);
Tailwind
colors: {
  custom: {
    50: '#a9ae64',
    500: '#818d1d',
    950: '#000000',
  },
}
SCSS
$custom: #818d1d;
$custom-light: #a9ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#818d1d",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 66.429,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61342,
    "c": 0.12993,
    "h": 115.8
  },
  "luminance": 0.23806
}

Semantic roles & 50–950 ramp

primary
#818D1D
secondary
#564ABC
accent
#3FE951
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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