#8D951C#8D951C

#8D951C 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#8D951C
RGBrgb(141, 149, 28)
HSLhsl(64, 68%, 35%)
HSVhsv(64, 81%, 58%)
CMYKcmyk(5.4%, 0%, 81.2%, 41.6%)
CIE-LABlab(59.20, -17.40, 57.09)
CIE-LCHlch(59.20, 59.68, 106.95°)
OKLaboklab(64.23% -0.0542 0.124)
OKLCHoklch(64.23% 0.135 113.6)
XYZxyz(21.9423, 27.2419, 5.2007)
Luminance0.2724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D951C #241C95
analogous
#95611C #8D951C #51951C
triadic
#8D951C #1C8D95 #951C8D
tetradic
#8D951C #1C9561 #241C95 #951C51
square
#8D951C #1C9561 #241C95 #951C51
split-complementary
#8D951C #1C5195 #611C95
monochromatic
#2B2E09 #5C6112 #8D951C #BEC926 #D4DE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D951C#FFFFFF#000000##000000
##8D951C1.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: #8d951c;
/* rgb */ color: rgb(141, 149, 28);
/* oklch */ color: oklch(64.2% 0.135 113.6);
Tailwind
colors: {
  custom: {
    50: '#b2b465',
    500: '#8d951c',
    950: '#000000',
  },
}
SCSS
$custom: #8d951c;
$custom-light: #b2b465;
$custom-dark: #000000;
JSON
{
  "hex": "#8d951c",
  "rgb": {
    "r": 141,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 63.967,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6423,
    "c": 0.13532,
    "h": 113.6
  },
  "luminance": 0.27241
}

Semantic roles & 50–950 ramp

primary
#8D951C
secondary
#544DC0
accent
#3DEB48
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D951C

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

Preview Lab → · Contrast checker → · Palette generator →

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