#818D19#818D19

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

Color values

HEX#818D19
RGBrgb(129, 141, 25)
HSLhsl(66, 70%, 33%)
HSVhsv(66, 82%, 55%)
CMYKcmyk(8.5%, 0%, 82.3%, 44.7%)
CIE-LABlab(55.87, -18.72, 54.66)
CIE-LCHlch(55.87, 57.77, 108.90°)
OKLaboklab(61.32% -0.0574 0.1187)
OKLCHoklch(61.32% 0.132 115.8)
XYZxyz(18.7541, 23.7874, 4.5230)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818D19 #25198D
analogous
#8D5F19 #818D19 #478D19
triadic
#818D19 #19818D #8D1981
tetradic
#818D19 #198D5F #25198D #8D1947
square
#818D19 #198D5F #25198D #8D1947
split-complementary
#818D19 #19478D #5F198D
monochromatic
#222507 #515910 #818D19 #B1C122 #CEDE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818D19#FFFFFF#000000##000000
##818D191.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)
#988500
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#8A8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #818d19;
/* rgb */ color: rgb(129, 141, 25);
/* oklch */ color: oklch(61.3% 0.132 115.8);
Tailwind
colors: {
  custom: {
    50: '#a9ae62',
    500: '#818d19',
    950: '#000000',
  },
}
SCSS
$custom: #818d19;
$custom-light: #a9ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#818d19",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 66.207,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61321,
    "c": 0.13188,
    "h": 115.8
  },
  "luminance": 0.23787
}

Semantic roles & 50–950 ramp

primary
#818D19
secondary
#5043BF
accent
#3BED4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818D19

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

Preview Lab → · Contrast checker → · Palette generator →

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