#818B1E#818B1E

#818B1E is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.9% C 0.127 H 114.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#818B1E
RGBrgb(129, 139, 30)
HSLhsl(66, 64%, 33%)
HSVhsv(66, 78%, 55%)
CMYKcmyk(7.2%, 0%, 78.4%, 45.5%)
CIE-LABlab(55.30, -17.47, 52.61)
CIE-LCHlch(55.30, 55.43, 108.37°)
OKLaboklab(60.87% -0.0536 0.1153)
OKLCHoklch(60.87% 0.127 114.9)
XYZxyz(18.5208, 23.2264, 4.7355)
Luminance0.2323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818B1E #281E8B
analogous
#8B5F1E #818B1E #4A8B1E
triadic
#818B1E #1E818B #8B1E81
tetradic
#818B1E #1E8B5F #281E8B #8B1E4A
square
#818B1E #1E8B5F #281E8B #8B1E4A
split-complementary
#818B1E #1E4A8B #5F1E8B
monochromatic
#242608 #525913 #818B1E #B0BD29 #CBD84B

Accessibility & contrast

On white

3.72
#818B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#818B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818B1E
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818B1E#FFFFFF#000000##000000
##818B1E1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958401
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#8A8277
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #818b1e;
/* rgb */ color: rgb(129, 139, 30);
/* oklch */ color: oklch(60.9% 0.127 114.9);
Tailwind
colors: {
  custom: {
    50: '#a9ac64',
    500: '#818b1e',
    950: '#000000',
  },
}
SCSS
$custom: #818b1e;
$custom-light: #a9ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#818b1e",
  "rgb": {
    "r": 129,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 65.505,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60872,
    "c": 0.12711,
    "h": 114.9
  },
  "luminance": 0.23226
}

Semantic roles & 50–950 ramp

primary
#818B1E
secondary
#544ABB
accent
#40E750
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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