#818C1A#818C1A

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

Color values

HEX#818C1A
RGBrgb(129, 140, 26)
HSLhsl(66, 69%, 33%)
HSVhsv(66, 81%, 55%)
CMYKcmyk(7.9%, 0%, 81.4%, 45.1%)
CIE-LABlab(55.58, -18.16, 54.11)
CIE-LCHlch(55.58, 57.07, 108.55°)
OKLaboklab(61.09% -0.0558 0.1177)
OKLCHoklch(61.09% 0.13 115.3)
XYZxyz(18.6183, 23.4982, 4.5319)
Luminance0.2350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818C1A #251A8C
analogous
#8C5E1A #818C1A #488C1A
triadic
#818C1A #1A818C #8C1A81
tetradic
#818C1A #1A8C5E #251A8C #8C1A48
square
#818C1A #1A8C5E #251A8C #8C1A48
split-complementary
#818C1A #1A488C #5E1A8C
monochromatic
#222507 #515810 #818C1A #B1C024 #CEDC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818C1A#FFFFFF#000000##000000
##818C1A1.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)
#978400
Deuteranopia (green-blind)
#968625
Tritanopia (blue-blind)
#8A8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #818c1a;
/* rgb */ color: rgb(129, 140, 26);
/* oklch */ color: oklch(61.1% 0.130 115.3);
Tailwind
colors: {
  custom: {
    50: '#a9ad62',
    500: '#818c1a',
    950: '#000000',
  },
}
SCSS
$custom: #818c1a;
$custom-light: #a9ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#818c1a",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 65.789,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61088,
    "c": 0.13028,
    "h": 115.3
  },
  "luminance": 0.23498
}

Semantic roles & 50–950 ramp

primary
#818C1A
secondary
#5044BE
accent
#3CEC4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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