#8E952F#8E952F

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

Color values

HEX#8E952F
RGBrgb(142, 149, 47)
HSLhsl(64, 52%, 38%)
HSVhsv(64, 68%, 58%)
CMYKcmyk(4.7%, 0%, 68.5%, 41.6%)
CIE-LABlab(59.39, -16.04, 50.61)
CIE-LCHlch(59.39, 53.09, 107.58°)
OKLaboklab(64.44% -0.0487 0.1137)
OKLCHoklch(64.44% 0.124 113.2)
XYZxyz(22.4165, 27.4514, 6.8066)
Luminance0.2745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E952F #362F95
analogous
#95692F #8E952F #5B952F
triadic
#8E952F #2F8E95 #952F8E
tetradic
#8E952F #2F9569 #362F95 #952F5B
square
#8E952F #2F9569 #362F95 #952F5B
split-complementary
#8E952F #2F5B95 #692F95
monochromatic
#353812 #626620 #8E952F #B9C23F #CAD16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E952F#FFFFFF#000000##000000
##8E952F1.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)
#A08E20
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#978C81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e952f;
/* rgb */ color: rgb(142, 149, 47);
/* oklch */ color: oklch(64.4% 0.124 113.2);
Tailwind
colors: {
  custom: {
    50: '#b2b46e',
    500: '#8e952f',
    950: '#000000',
  },
}
SCSS
$custom: #8e952f;
$custom-light: #b2b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e952f",
  "rgb": {
    "r": 142,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 64.118,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6444,
    "c": 0.12367,
    "h": 113.2
  },
  "luminance": 0.27451
}

Semantic roles & 50–950 ramp

primary
#8E952F
secondary
#6D67B8
accent
#4CDB56
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8E952F

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

Preview Lab → · Contrast checker → · Palette generator →

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