#8D951D#8D951D

#8D951D is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.2% C 0.135 H 113.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8D951D
RGBrgb(141, 149, 29)
HSLhsl(64, 67%, 35%)
HSVhsv(64, 81%, 58%)
CMYKcmyk(5.4%, 0%, 80.5%, 41.6%)
CIE-LABlab(59.20, -17.36, 56.80)
CIE-LCHlch(59.20, 59.39, 107.00°)
OKLaboklab(64.24% -0.054 0.1236)
OKLCHoklch(64.24% 0.135 113.6)
XYZxyz(21.9544, 27.2468, 5.2648)
Luminance0.2725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D951D #251D95
analogous
#95611D #8D951D #51951D
triadic
#8D951D #1D8D95 #951D8D
tetradic
#8D951D #1D9561 #251D95 #951D51
square
#8D951D #1D9561 #251D95 #951D51
split-complementary
#8D951D #1D5195 #611D95
monochromatic
#2C2F09 #5D6213 #8D951D #BDC827 #D3DD50

Accessibility & contrast

On white

3.26
#8D951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#8D951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D951D
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D951D#FFFFFF#000000##000000
##8D951D1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#A09028
Tritanopia (blue-blind)
#978C7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d951d;
/* rgb */ color: rgb(141, 149, 29);
/* oklch */ color: oklch(64.2% 0.135 113.6);
Tailwind
colors: {
  custom: {
    50: '#b2b465',
    500: '#8d951d',
    950: '#000000',
  },
}
SCSS
$custom: #8d951d;
$custom-light: #b2b465;
$custom-dark: #000000;
JSON
{
  "hex": "#8d951d",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 64,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.64235,
    "c": 0.13485,
    "h": 113.6
  },
  "luminance": 0.27246
}

Semantic roles & 50–950 ramp

primary
#8D951D
secondary
#564EC0
accent
#3DEA49
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D951D

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

Preview Lab → · Contrast checker → · Palette generator →

#8D951D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva