#818B1A#818B1A

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

Color values

HEX#818B1A
RGBrgb(129, 139, 26)
HSLhsl(65, 68%, 32%)
HSVhsv(65, 81%, 55%)
CMYKcmyk(7.2%, 0%, 81.3%, 45.5%)
CIE-LABlab(55.29, -17.64, 53.84)
CIE-LCHlch(55.29, 56.66, 108.14°)
OKLaboklab(60.85% -0.0543 0.1172)
OKLCHoklch(60.85% 0.129 114.9)
XYZxyz(18.4729, 23.2073, 4.4834)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818B1A #241A8B
analogous
#8B5D1A #818B1A #488B1A
triadic
#818B1A #1A818B #8B1A81
tetradic
#818B1A #1A8B5D #241A8B #8B1A48
square
#818B1A #1A8B5D #241A8B #8B1A48
split-complementary
#818B1A #1A488B #5D1A8B
monochromatic
#212407 #515710 #818B1A #B1BF24 #CEDC43

Accessibility & contrast

On white

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

On black

5.64
#818B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818B1A
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818B1A#FFFFFF#000000##000000
##818B1A1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#8A8276
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #818b1a;
/* rgb */ color: rgb(129, 139, 26);
/* oklch */ color: oklch(60.9% 0.129 114.9);
Tailwind
colors: {
  custom: {
    50: '#a9ac62',
    500: '#818b1a',
    950: '#000000',
  },
}
SCSS
$custom: #818b1a;
$custom-light: #a9ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#818b1a",
  "rgb": {
    "r": 129,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 65.31,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.6085,
    "c": 0.12917,
    "h": 114.9
  },
  "luminance": 0.23207
}

Semantic roles & 50–950 ramp

primary
#818B1A
secondary
#4E44BD
accent
#3CEB4C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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