#818E1E#818E1E

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

Color values

HEX#818E1E
RGBrgb(129, 142, 30)
HSLhsl(67, 65%, 34%)
HSVhsv(67, 79%, 56%)
CMYKcmyk(9.2%, 0%, 78.9%, 44.3%)
CIE-LABlab(56.19, -19.03, 53.42)
CIE-LCHlch(56.19, 56.71, 109.61°)
OKLaboklab(61.59% -0.0579 0.117)
OKLCHoklch(61.59% 0.131 116.3)
XYZxyz(18.9611, 24.1071, 4.8823)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E1E #2B1E8E
analogous
#8E631E #818E1E #498E1E
triadic
#818E1E #1E818E #8E1E81
tetradic
#818E1E #1E8E63 #2B1E8E #8E1E49
square
#818E1E #1E8E63 #2B1E8E #8E1E49
split-complementary
#818E1E #1E498E #631E8E
monochromatic
#252909 #535B13 #818E1E #AFC129 #C9D94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818E1E#FFFFFF#000000##000000
##818E1E1.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)
#978728
Tritanopia (blue-blind)
#8A8679
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e1e;
/* rgb */ color: rgb(129, 142, 30);
/* oklch */ color: oklch(61.6% 0.131 116.3);
Tailwind
colors: {
  custom: {
    50: '#a9af64',
    500: '#818e1e',
    950: '#000000',
  },
}
SCSS
$custom: #818e1e;
$custom-light: #a9af64;
$custom-dark: #000000;
JSON
{
  "hex": "#818e1e",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 66.964,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61586,
    "c": 0.13054,
    "h": 116.3
  },
  "luminance": 0.24107
}

Semantic roles & 50–950 ramp

primary
#818E1E
secondary
#594CBC
accent
#40E853
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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