#8D951B#8D951B

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

Color values

HEX#8D951B
RGBrgb(141, 149, 27)
HSLhsl(64, 69%, 35%)
HSVhsv(64, 82%, 58%)
CMYKcmyk(5.4%, 0%, 81.9%, 41.6%)
CIE-LABlab(59.19, -17.44, 57.37)
CIE-LCHlch(59.19, 59.96, 106.91°)
OKLaboklab(64.22% -0.0543 0.1244)
OKLCHoklch(64.22% 0.136 113.6)
XYZxyz(21.9305, 27.2372, 5.1388)
Luminance0.2724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D951B #231B95
analogous
#95601B #8D951B #50951B
triadic
#8D951B #1B8D95 #951B8D
tetradic
#8D951B #1B9560 #231B95 #951B50
square
#8D951B #1B9560 #231B95 #951B50
split-complementary
#8D951B #1B5095 #601B95
monochromatic
#2B2D08 #5C6112 #8D951B #BEC924 #D5DF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D951B#FFFFFF#000000##000000
##8D951B1.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)
#A19027
Tritanopia (blue-blind)
#978C7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d951b;
/* rgb */ color: rgb(141, 149, 27);
/* oklch */ color: oklch(64.2% 0.136 113.6);
Tailwind
colors: {
  custom: {
    50: '#b2b464',
    500: '#8d951b',
    950: '#000000',
  },
}
SCSS
$custom: #8d951b;
$custom-light: #b2b464;
$custom-dark: #000000;
JSON
{
  "hex": "#8d951b",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 63.934,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.64225,
    "c": 0.13577,
    "h": 113.6
  },
  "luminance": 0.27237
}

Semantic roles & 50–950 ramp

primary
#8D951B
secondary
#534BC1
accent
#3CEC47
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D951B

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

Preview Lab → · Contrast checker → · Palette generator →

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