#8D951E#8D951E

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

Color values

HEX#8D951E
RGBrgb(141, 149, 30)
HSLhsl(64, 66%, 35%)
HSVhsv(64, 80%, 58%)
CMYKcmyk(5.4%, 0%, 79.9%, 41.6%)
CIE-LABlab(59.21, -17.33, 56.50)
CIE-LCHlch(59.21, 59.10, 107.05°)
OKLaboklab(64.24% -0.0538 0.1231)
OKLCHoklch(64.24% 0.134 113.6)
XYZxyz(21.9670, 27.2518, 5.3310)
Luminance0.2725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D951E #261E95
analogous
#95621E #8D951E #51951E
triadic
#8D951E #1E8D95 #951E8D
tetradic
#8D951E #1E9562 #261E95 #951E51
square
#8D951E #1E9562 #261E95 #951E51
split-complementary
#8D951E #1E5195 #621E95
monochromatic
#2D2F09 #5D6214 #8D951E #BDC828 #D3DC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8d951e;
/* rgb */ color: rgb(141, 149, 30);
/* oklch */ color: oklch(64.2% 0.134 113.6);
Tailwind
colors: {
  custom: {
    50: '#b2b465',
    500: '#8d951e',
    950: '#000000',
  },
}
SCSS
$custom: #8d951e;
$custom-light: #b2b465;
$custom-dark: #000000;
JSON
{
  "hex": "#8d951e",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 64.034,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6424,
    "c": 0.13436,
    "h": 113.6
  },
  "luminance": 0.27251
}

Semantic roles & 50–950 ramp

primary
#8D951E
secondary
#5750BF
accent
#3EE94A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D951E

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

Preview Lab → · Contrast checker → · Palette generator →

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