#818C15#818C15

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

Color values

HEX#818C15
RGBrgb(129, 140, 21)
HSLhsl(66, 74%, 32%)
HSVhsv(66, 85%, 55%)
CMYKcmyk(7.9%, 0%, 85%, 45.1%)
CIE-LABlab(55.56, -18.34, 55.47)
CIE-LCHlch(55.56, 58.42, 108.29°)
OKLaboklab(61.06% -0.0566 0.1198)
OKLCHoklch(61.06% 0.132 115.3)
XYZxyz(18.5673, 23.4778, 4.2629)
Luminance0.2348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818C15 #20158C
analogous
#8C5C15 #818C15 #468C15
triadic
#818C15 #15818C #8C1581
tetradic
#818C15 #158C5C #20158C #8C1546
square
#818C15 #158C5C #20158C #8C1546
split-complementary
#818C15 #15468C #5C158C
monochromatic
#1F2205 #50570D #818C15 #B2C11D #D2E13A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818C15#FFFFFF#000000##000000
##818C151.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #818c15;
/* rgb */ color: rgb(129, 140, 21);
/* oklch */ color: oklch(61.1% 0.132 115.3);
Tailwind
colors: {
  custom: {
    50: '#a9ad60',
    500: '#818c15',
    950: '#000000',
  },
}
SCSS
$custom: #818c15;
$custom-light: #a9ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#818c15",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 21
  },
  "hsl": {
    "h": 65.546,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.13248,
    "h": 115.3
  },
  "luminance": 0.23477
}

Semantic roles & 50–950 ramp

primary
#818C15
secondary
#493DC0
accent
#37F148
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818C15

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

Preview Lab → · Contrast checker → · Palette generator →

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