#818F19#818F19

#818F19 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.8% C 0.134 H 116.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#818F19
RGBrgb(129, 143, 25)
HSLhsl(67, 70%, 33%)
HSVhsv(67, 83%, 56%)
CMYKcmyk(9.8%, 0%, 82.5%, 43.9%)
CIE-LABlab(56.47, -19.75, 55.18)
CIE-LCHlch(56.47, 58.60, 109.69°)
OKLaboklab(61.8% -0.0602 0.1199)
OKLCHoklch(61.8% 0.134 116.7)
XYZxyz(19.0517, 24.3825, 4.6222)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818F19 #27198F
analogous
#8F6219 #818F19 #468F19
triadic
#818F19 #19818F #8F1981
tetradic
#818F19 #198F62 #27198F #8F1946
square
#818F19 #198F62 #27198F #8F1946
split-complementary
#818F19 #19468F #62198F
monochromatic
#232707 #525B10 #818F19 #B0C322 #CCDE44

Accessibility & contrast

On white

3.57
#818F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#818F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818F19
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818F19#FFFFFF#000000##000000
##818F191.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#8A867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818f19;
/* rgb */ color: rgb(129, 143, 25);
/* oklch */ color: oklch(61.8% 0.134 116.7);
Tailwind
colors: {
  custom: {
    50: '#a9af62',
    500: '#818f19',
    950: '#000000',
  },
}
SCSS
$custom: #818f19;
$custom-light: #a9af62;
$custom-dark: #000000;
JSON
{
  "hex": "#818f19",
  "rgb": {
    "r": 129,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 67.119,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61799,
    "c": 0.13413,
    "h": 116.7
  },
  "luminance": 0.24382
}

Semantic roles & 50–950 ramp

primary
#818F19
secondary
#5344BF
accent
#3BED50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818F19

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

Preview Lab → · Contrast checker → · Palette generator →

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