#8F952F#8F952F

#8F952F is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.5% C 0.123 H 112.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8F952F
RGBrgb(143, 149, 47)
HSLhsl(64, 52%, 38%)
HSVhsv(64, 68%, 58%)
CMYKcmyk(4%, 0%, 68.5%, 41.6%)
CIE-LABlab(59.47, -15.60, 50.72)
CIE-LCHlch(59.47, 53.06, 107.09°)
OKLaboklab(64.53% -0.0475 0.1139)
OKLCHoklch(64.53% 0.123 112.6)
XYZxyz(22.5889, 27.5403, 6.8146)
Luminance0.2754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F952F #352F95
analogous
#95682F #8F952F #5C952F
triadic
#8F952F #2F8F95 #952F8F
tetradic
#8F952F #2F9568 #352F95 #952F5C
square
#8F952F #2F9568 #352F95 #952F5C
split-complementary
#8F952F #2F5C95 #682F95
monochromatic
#363812 #626620 #8F952F #BBC23F #CBD16D

Accessibility & contrast

On white

3.23
#8F952F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#8F952F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F952F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F952F#FFFFFF#000000##000000
##8F952F1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E20
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#998C81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f952f;
/* rgb */ color: rgb(143, 149, 47);
/* oklch */ color: oklch(64.5% 0.123 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b46e',
    500: '#8f952f',
    950: '#000000',
  },
}
SCSS
$custom: #8f952f;
$custom-light: #b3b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f952f",
  "rgb": {
    "r": 143,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 63.529,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64525,
    "c": 0.1234,
    "h": 112.6
  },
  "luminance": 0.2754
}

Semantic roles & 50–950 ramp

primary
#8F952F
secondary
#6C67B8
accent
#4CDB55
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F952F

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

Preview Lab → · Contrast checker → · Palette generator →

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