#818915#818915

#818915 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.4% C 0.129 H 113.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#818915
RGBrgb(129, 137, 21)
HSLhsl(64, 73%, 31%)
HSVhsv(64, 85%, 54%)
CMYKcmyk(5.8%, 0%, 84.7%, 46.3%)
CIE-LABlab(54.67, -16.77, 54.71)
CIE-LCHlch(54.67, 57.22, 107.04°)
OKLaboklab(60.35% -0.0523 0.1181)
OKLCHoklch(60.35% 0.129 113.9)
XYZxyz(18.1349, 22.6130, 4.1188)
Luminance0.2261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818915 #1D1589
analogous
#895715 #818915 #478915
triadic
#818915 #158189 #891581
tetradic
#818915 #158957 #1D1589 #891547
square
#818915 #158957 #1D1589 #891547
split-complementary
#818915 #154789 #571589
monochromatic
#1D1F05 #4F540D #818915 #B3BE1D #D5E038

Accessibility & contrast

On white

3.80
#818915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#818915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818915
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818915#FFFFFF#000000##000000
##8189151.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#948421
Tritanopia (blue-blind)
#8A8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #818915;
/* rgb */ color: rgb(129, 137, 21);
/* oklch */ color: oklch(60.4% 0.129 113.9);
Tailwind
colors: {
  custom: {
    50: '#a9ab60',
    500: '#818915',
    950: '#000000',
  },
}
SCSS
$custom: #818915;
$custom-light: #a9ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#818915",
  "rgb": {
    "r": 129,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 64.138,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.6035,
    "c": 0.1292,
    "h": 113.9
  },
  "luminance": 0.22613
}

Semantic roles & 50–950 ramp

primary
#818915
secondary
#463DBD
accent
#38F044
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818915

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

Preview Lab → · Contrast checker → · Palette generator →

#818915 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva