#8E952D#8E952D

#8E952D is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.4% C 0.125 H 113.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8E952D
RGBrgb(142, 149, 45)
HSLhsl(64, 54%, 38%)
HSVhsv(64, 70%, 58%)
CMYKcmyk(4.7%, 0%, 69.8%, 41.6%)
CIE-LABlab(59.38, -16.15, 51.40)
CIE-LCHlch(59.38, 53.88, 107.45°)
OKLaboklab(64.42% -0.0492 0.115)
OKLCHoklch(64.42% 0.125 113.2)
XYZxyz(22.3771, 27.4356, 6.5989)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E952D #342D95
analogous
#95682D #8E952D #5A952D
triadic
#8E952D #2D8E95 #952D8E
tetradic
#8E952D #2D9568 #342D95 #952D5A
square
#8E952D #2D9568 #342D95 #952D5A
split-complementary
#8E952D #2D5A95 #682D95
monochromatic
#343711 #61661F #8E952D #BBC43B #CBD26A

Accessibility & contrast

On white

3.24
#8E952D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#8E952D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E952D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E952D#FFFFFF#000000##000000
##8E952D1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1D
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#988C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e952d;
/* rgb */ color: rgb(142, 149, 45);
/* oklch */ color: oklch(64.4% 0.125 113.2);
Tailwind
colors: {
  custom: {
    50: '#b2b46d',
    500: '#8e952d',
    950: '#000000',
  },
}
SCSS
$custom: #8e952d;
$custom-light: #b2b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e952d",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 64.038,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64423,
    "c": 0.12509,
    "h": 113.2
  },
  "luminance": 0.27435
}

Semantic roles & 50–950 ramp

primary
#8E952D
secondary
#6A65B9
accent
#4BDD55
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8E952D

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

Preview Lab → · Contrast checker → · Palette generator →

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