#818B19#818B19

#818B19 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.8% C 0.130 H 114.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#818B19
RGBrgb(129, 139, 25)
HSLhsl(65, 70%, 32%)
HSVhsv(65, 82%, 55%)
CMYKcmyk(7.2%, 0%, 82%, 45.5%)
CIE-LABlab(55.28, -17.68, 54.13)
CIE-LCHlch(55.28, 56.95, 108.08°)
OKLaboklab(60.85% -0.0545 0.1176)
OKLCHoklch(60.85% 0.13 114.9)
XYZxyz(18.4619, 23.2029, 4.4256)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818B19 #23198B
analogous
#8B5C19 #818B19 #488B19
triadic
#818B19 #19818B #8B1981
tetradic
#818B19 #198B5C #23198B #8B1948
square
#818B19 #198B5C #23198B #8B1948
split-complementary
#818B19 #19488B #5C198B
monochromatic
#212306 #515710 #818B19 #B1BF22 #CFDD41

Accessibility & contrast

On white

3.72
#818B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#818B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818B19
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818B19#FFFFFF#000000##000000
##818B191.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#8A8276
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #818b19;
/* rgb */ color: rgb(129, 139, 25);
/* oklch */ color: oklch(60.8% 0.130 114.9);
Tailwind
colors: {
  custom: {
    50: '#a9ac62',
    500: '#818b19',
    950: '#000000',
  },
}
SCSS
$custom: #818b19;
$custom-light: #a9ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#818b19",
  "rgb": {
    "r": 129,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 65.263,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60845,
    "c": 0.12964,
    "h": 114.9
  },
  "luminance": 0.23203
}

Semantic roles & 50–950 ramp

primary
#818B19
secondary
#4D42BE
accent
#3BEC4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818B19

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

Preview Lab → · Contrast checker → · Palette generator →

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