#818E19#818E19

#818E19 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.6% C 0.133 H 116.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#818E19
RGBrgb(129, 142, 25)
HSLhsl(67, 70%, 33%)
HSVhsv(67, 82%, 56%)
CMYKcmyk(9.2%, 0%, 82.4%, 44.3%)
CIE-LABlab(56.17, -19.23, 54.92)
CIE-LCHlch(56.17, 58.19, 109.30°)
OKLaboklab(61.56% -0.0588 0.1193)
OKLCHoklch(61.56% 0.133 116.2)
XYZxyz(18.9023, 24.0836, 4.5724)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E19 #26198E
analogous
#8E6119 #818E19 #468E19
triadic
#818E19 #19818E #8E1981
tetradic
#818E19 #198E61 #26198E #8E1946
square
#818E19 #198E61 #26198E #8E1946
split-complementary
#818E19 #19468E #61198E
monochromatic
#222607 #525A10 #818E19 #B0C222 #CDDE43

Accessibility & contrast

On white

3.61
#818E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#818E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818E19
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818E19#FFFFFF#000000##000000
##818E191.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#8A8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e19;
/* rgb */ color: rgb(129, 142, 25);
/* oklch */ color: oklch(61.6% 0.133 116.2);
Tailwind
colors: {
  custom: {
    50: '#a9ae62',
    500: '#818e19',
    950: '#000000',
  },
}
SCSS
$custom: #818e19;
$custom-light: #a9ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#818e19",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 66.667,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.6156,
    "c": 0.133,
    "h": 116.2
  },
  "luminance": 0.24083
}

Semantic roles & 50–950 ramp

primary
#818E19
secondary
#5144BF
accent
#3BED4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818E19

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

Preview Lab → · Contrast checker → · Palette generator →

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