#818F1A#818F1A

#818F1A 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#818F1A
RGBrgb(129, 143, 26)
HSLhsl(67, 69%, 33%)
HSVhsv(67, 82%, 56%)
CMYKcmyk(9.8%, 0%, 81.8%, 43.9%)
CIE-LABlab(56.47, -19.71, 54.90)
CIE-LCHlch(56.47, 58.33, 109.75°)
OKLaboklab(61.8% -0.06 0.1194)
OKLCHoklch(61.8% 0.134 116.7)
XYZxyz(19.0627, 24.3869, 4.6800)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818F1A #281A8F
analogous
#8F621A #818F1A #478F1A
triadic
#818F1A #1A818F #8F1A81
tetradic
#818F1A #1A8F62 #281A8F #8F1A47
square
#818F1A #1A8F62 #281A8F #8F1A47
split-complementary
#818F1A #1A478F #621A8F
monochromatic
#242707 #525B11 #818F1A #B0C323 #CBDD46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818F1A#FFFFFF#000000##000000
##818F1A1.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)
#988826
Tritanopia (blue-blind)
#8A867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818f1a;
/* rgb */ color: rgb(129, 143, 26);
/* oklch */ color: oklch(61.8% 0.134 116.7);
Tailwind
colors: {
  custom: {
    50: '#a9af63',
    500: '#818f1a',
    950: '#000000',
  },
}
SCSS
$custom: #818f1a;
$custom-light: #a9af63;
$custom-dark: #000000;
JSON
{
  "hex": "#818f1a",
  "rgb": {
    "r": 129,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 67.179,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61804,
    "c": 0.13368,
    "h": 116.7
  },
  "luminance": 0.24387
}

Semantic roles & 50–950 ramp

primary
#818F1A
secondary
#5446BF
accent
#3CEC51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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