#818A19#818A19

#818A19 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.6% C 0.129 H 114.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#818A19
RGBrgb(129, 138, 25)
HSLhsl(65, 69%, 32%)
HSVhsv(65, 82%, 54%)
CMYKcmyk(6.5%, 0%, 81.9%, 45.9%)
CIE-LABlab(54.98, -17.15, 53.87)
CIE-LCHlch(54.98, 56.54, 107.66°)
OKLaboklab(60.61% -0.0531 0.1171)
OKLCHoklch(60.61% 0.129 114.4)
XYZxyz(18.3178, 22.9146, 4.3775)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818A19 #22198A
analogous
#8A5B19 #818A19 #498A19
triadic
#818A19 #19818A #8A1981
tetradic
#818A19 #198A5B #22198A #8A1949
square
#818A19 #198A5B #22198A #8A1949
split-complementary
#818A19 #19498A #5B198A
monochromatic
#202206 #515610 #818A19 #B1BE22 #D0DD41

Accessibility & contrast

On white

3.76
#818A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#818A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818A19
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818A19#FFFFFF#000000##000000
##818A191.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#948524
Tritanopia (blue-blind)
#8A8176
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #818a19;
/* rgb */ color: rgb(129, 138, 25);
/* oklch */ color: oklch(60.6% 0.129 114.4);
Tailwind
colors: {
  custom: {
    50: '#a9ac61',
    500: '#818a19',
    950: '#000000',
  },
}
SCSS
$custom: #818a19;
$custom-light: #a9ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#818a19",
  "rgb": {
    "r": 129,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 64.779,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60607,
    "c": 0.12853,
    "h": 114.4
  },
  "luminance": 0.22914
}

Semantic roles & 50–950 ramp

primary
#818A19
secondary
#4B42BD
accent
#3CEC4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818A19

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

Preview Lab → · Contrast checker → · Palette generator →

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