#818E1A#818E1A

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

Color values

HEX#818E1A
RGBrgb(129, 142, 26)
HSLhsl(67, 69%, 33%)
HSVhsv(67, 82%, 56%)
CMYKcmyk(9.2%, 0%, 81.7%, 44.3%)
CIE-LABlab(56.18, -19.19, 54.63)
CIE-LCHlch(56.18, 57.91, 109.36°)
OKLaboklab(61.57% -0.0586 0.1189)
OKLCHoklch(61.57% 0.133 116.3)
XYZxyz(18.9132, 24.0880, 4.6302)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E1A #271A8E
analogous
#8E611A #818E1A #478E1A
triadic
#818E1A #1A818E #8E1A81
tetradic
#818E1A #1A8E61 #271A8E #8E1A47
square
#818E1A #1A8E61 #271A8E #8E1A47
split-complementary
#818E1A #1A478E #611A8E
monochromatic
#232707 #525A11 #818E1A #B0C223 #CCDD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818E1A#FFFFFF#000000##000000
##818E1A1.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)
#978726
Tritanopia (blue-blind)
#8A8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e1a;
/* rgb */ color: rgb(129, 142, 26);
/* oklch */ color: oklch(61.6% 0.133 116.3);
Tailwind
colors: {
  custom: {
    50: '#a9ae62',
    500: '#818e1a',
    950: '#000000',
  },
}
SCSS
$custom: #818e1a;
$custom-light: #a9ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#818e1a",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 66.724,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61565,
    "c": 0.13254,
    "h": 116.3
  },
  "luminance": 0.24088
}

Semantic roles & 50–950 ramp

primary
#818E1A
secondary
#5345BE
accent
#3CEC50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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