#818A13#818A13

#818A13 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.6% C 0.131 H 114.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#818A13
RGBrgb(129, 138, 19)
HSLhsl(65, 76%, 31%)
HSVhsv(65, 86%, 54%)
CMYKcmyk(6.5%, 0%, 86.2%, 45.9%)
CIE-LABlab(54.96, -17.36, 55.46)
CIE-LCHlch(54.96, 58.11, 107.38°)
OKLaboklab(60.58% -0.0541 0.1194)
OKLCHoklch(60.58% 0.131 114.4)
XYZxyz(18.2599, 22.8915, 4.0726)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818A13 #1C138A
analogous
#8A5713 #818A13 #458A13
triadic
#818A13 #13818A #8A1381
tetradic
#818A13 #138A57 #1C138A #8A1345
square
#818A13 #138A57 #1C138A #8A1345
split-complementary
#818A13 #13458A #57138A
monochromatic
#1C1E04 #4F540C #818A13 #B3C01A #D6E334

Accessibility & contrast

On white

3.76
#818A13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#818A13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818A13
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818A13#FFFFFF#000000##000000
##818A131.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#948520
Tritanopia (blue-blind)
#8A8175
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #818a13;
/* rgb */ color: rgb(129, 138, 19);
/* oklch */ color: oklch(60.6% 0.131 114.4);
Tailwind
colors: {
  custom: {
    50: '#a9ac5f',
    500: '#818a13',
    950: '#000000',
  },
}
SCSS
$custom: #818a13;
$custom-light: #a9ac5f;
$custom-dark: #000000;
JSON
{
  "hex": "#818a13",
  "rgb": {
    "r": 129,
    "g": 138,
    "b": 19
  },
  "hsl": {
    "h": 64.538,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.6058,
    "c": 0.13107,
    "h": 114.4
  },
  "luminance": 0.22891
}

Semantic roles & 50–950 ramp

primary
#818A13
secondary
#443ABE
accent
#35F244
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #818A13

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

Preview Lab → · Contrast checker → · Palette generator →

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