#818D1E#818D1E

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

Color values

HEX#818D1E
RGBrgb(129, 141, 30)
HSLhsl(66, 65%, 34%)
HSVhsv(66, 79%, 55%)
CMYKcmyk(8.5%, 0%, 78.7%, 44.7%)
CIE-LABlab(55.90, -18.51, 53.15)
CIE-LCHlch(55.90, 56.28, 109.21°)
OKLaboklab(61.35% -0.0564 0.1164)
OKLCHoklch(61.35% 0.129 115.9)
XYZxyz(18.8130, 23.8109, 4.8330)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818D1E #2A1E8D
analogous
#8D611E #818D1E #4A8D1E
triadic
#818D1E #1E818D #8D1E81
tetradic
#818D1E #1E8D61 #2A1E8D #8D1E4A
square
#818D1E #1E8D61 #2A1E8D #8D1E4A
split-complementary
#818D1E #1E4A8D #611E8D
monochromatic
#252809 #535B13 #818D1E #AFBF29 #CAD94C

Accessibility & contrast

On white

3.64
#818D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##818D1E#FFFFFF#000000##000000
##818D1E1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #818d1e;
/* rgb */ color: rgb(129, 141, 30);
/* oklch */ color: oklch(61.3% 0.129 115.9);
Tailwind
colors: {
  custom: {
    50: '#a9ae64',
    500: '#818d1e',
    950: '#000000',
  },
}
SCSS
$custom: #818d1e;
$custom-light: #a9ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#818d1e",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 66.486,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61348,
    "c": 0.12939,
    "h": 115.9
  },
  "luminance": 0.23811
}

Semantic roles & 50–950 ramp

primary
#818D1E
secondary
#574BBC
accent
#40E852
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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