#818D14#818D14

#818D14 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.3% C 0.134 H 115.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#818D14
RGBrgb(129, 141, 20)
HSLhsl(66, 75%, 32%)
HSVhsv(66, 86%, 55%)
CMYKcmyk(8.5%, 0%, 85.8%, 44.7%)
CIE-LABlab(55.85, -18.88, 55.97)
CIE-LCHlch(55.85, 59.07, 108.65°)
OKLaboklab(61.3% -0.0582 0.1207)
OKLCHoklch(61.3% 0.134 115.7)
XYZxyz(18.7050, 23.7677, 4.2640)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818D14 #20148D
analogous
#8D5D14 #818D14 #458D14
triadic
#818D14 #14818D #8D1481
tetradic
#818D14 #148D5D #20148D #8D1445
square
#818D14 #148D5D #20148D #8D1445
split-complementary
#818D14 #14458D #5D148D
monochromatic
#1F2205 #50570C #818D14 #B2C31C #D2E339

Accessibility & contrast

On white

3.65
#818D14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#818D14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818D14
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818D14#FFFFFF#000000##000000
##818D141.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#8A8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #818d14;
/* rgb */ color: rgb(129, 141, 20);
/* oklch */ color: oklch(61.3% 0.134 115.7);
Tailwind
colors: {
  custom: {
    50: '#a9ae60',
    500: '#818d14',
    950: '#000000',
  },
}
SCSS
$custom: #818d14;
$custom-light: #a9ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#818d14",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 20
  },
  "hsl": {
    "h": 65.95,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61299,
    "c": 0.13398,
    "h": 115.7
  },
  "luminance": 0.23767
}

Semantic roles & 50–950 ramp

primary
#818D14
secondary
#493CC1
accent
#36F249
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818D14

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

Preview Lab → · Contrast checker → · Palette generator →

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