#818C13#818C13

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

Color values

HEX#818C13
RGBrgb(129, 140, 19)
HSLhsl(65, 76%, 31%)
HSVhsv(65, 86%, 55%)
CMYKcmyk(7.9%, 0%, 86.4%, 45.1%)
CIE-LABlab(55.55, -18.40, 55.96)
CIE-LCHlch(55.55, 58.91, 108.20°)
OKLaboklab(61.06% -0.0569 0.1205)
OKLCHoklch(61.06% 0.133 115.3)
XYZxyz(18.5495, 23.4706, 4.1691)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818C13 #1E138C
analogous
#8C5A13 #818C13 #448C13
triadic
#818C13 #13818C #8C1381
tetradic
#818C13 #138C5A #1E138C #8C1344
square
#818C13 #138C5A #1E138C #8C1344
split-complementary
#818C13 #13448C #5A138C
monochromatic
#1E2004 #4F560C #818C13 #B3C21A #D4E436

Accessibility & contrast

On white

3.69
#818C13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#818C13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818C13
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818C13#FFFFFF#000000##000000
##818C131.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#968621
Tritanopia (blue-blind)
#8A8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #818c13;
/* rgb */ color: rgb(129, 140, 19);
/* oklch */ color: oklch(61.1% 0.133 115.3);
Tailwind
colors: {
  custom: {
    50: '#a9ad60',
    500: '#818c13',
    950: '#000000',
  },
}
SCSS
$custom: #818c13;
$custom-light: #a9ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#818c13",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 19
  },
  "hsl": {
    "h": 65.455,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.61056,
    "c": 0.13326,
    "h": 115.3
  },
  "luminance": 0.2347
}

Semantic roles & 50–950 ramp

primary
#818C13
secondary
#473BC0
accent
#35F346
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818C13

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

Preview Lab → · Contrast checker → · Palette generator →

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