#818C1E#818C1E

#818C1E is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.1% C 0.128 H 115.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#818C1E
RGBrgb(129, 140, 30)
HSLhsl(66, 65%, 33%)
HSVhsv(66, 79%, 55%)
CMYKcmyk(7.9%, 0%, 78.6%, 45.1%)
CIE-LABlab(55.60, -17.99, 52.88)
CIE-LCHlch(55.60, 55.86, 108.79°)
OKLaboklab(61.11% -0.055 0.1159)
OKLCHoklch(61.11% 0.128 115.4)
XYZxyz(18.6662, 23.5173, 4.7840)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818C1E #291E8C
analogous
#8C601E #818C1E #4A8C1E
triadic
#818C1E #1E818C #8C1E81
tetradic
#818C1E #1E8C60 #291E8C #8C1E4A
square
#818C1E #1E8C60 #291E8C #8C1E4A
split-complementary
#818C1E #1E4A8C #601E8C
monochromatic
#242708 #535A13 #818C1E #AFBE29 #CBD94C

Accessibility & contrast

On white

3.68
#818C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#818C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818C1E
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818C1E#FFFFFF#000000##000000
##818C1E1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968401
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#8A8378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #818c1e;
/* rgb */ color: rgb(129, 140, 30);
/* oklch */ color: oklch(61.1% 0.128 115.4);
Tailwind
colors: {
  custom: {
    50: '#a9ad64',
    500: '#818c1e',
    950: '#000000',
  },
}
SCSS
$custom: #818c1e;
$custom-light: #a9ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#818c1e",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 66,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.12825,
    "h": 115.4
  },
  "luminance": 0.23517
}

Semantic roles & 50–950 ramp

primary
#818C1E
secondary
#564BBB
accent
#40E851
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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