#8D951A#8D951A

#8D951A 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#8D951A
RGBrgb(141, 149, 26)
HSLhsl(64, 70%, 34%)
HSVhsv(64, 83%, 58%)
CMYKcmyk(5.4%, 0%, 82.6%, 41.6%)
CIE-LABlab(59.19, -17.47, 57.64)
CIE-LCHlch(59.19, 60.23, 106.86°)
OKLaboklab(64.22% -0.0545 0.1248)
OKLCHoklch(64.22% 0.136 113.6)
XYZxyz(21.9191, 27.2327, 5.0789)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D951A #221A95
analogous
#955F1A #8D951A #50951A
triadic
#8D951A #1A8D95 #951A8D
tetradic
#8D951A #1A955F #221A95 #951A50
square
#8D951A #1A955F #221A95 #951A50
split-complementary
#8D951A #1A5095 #5F1A95
monochromatic
#2A2D08 #5C6111 #8D951A #BEC923 #D6DF4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8d951a;
/* rgb */ color: rgb(141, 149, 26);
/* oklch */ color: oklch(64.2% 0.136 113.6);
Tailwind
colors: {
  custom: {
    50: '#b2b464',
    500: '#8d951a',
    950: '#000000',
  },
}
SCSS
$custom: #8d951a;
$custom-light: #b2b464;
$custom-dark: #000000;
JSON
{
  "hex": "#8d951a",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 63.902,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.64221,
    "c": 0.13621,
    "h": 113.6
  },
  "luminance": 0.27232
}

Semantic roles & 50–950 ramp

primary
#8D951A
secondary
#514AC1
accent
#3BED46
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D951A

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

Preview Lab → · Contrast checker → · Palette generator →

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