#8F952A#8F952A

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

Color values

HEX#8F952A
RGBrgb(143, 149, 42)
HSLhsl(63, 56%, 37%)
HSVhsv(63, 72%, 58%)
CMYKcmyk(4%, 0%, 71.8%, 41.6%)
CIE-LABlab(59.44, -15.88, 52.65)
CIE-LCHlch(59.44, 54.99, 106.79°)
OKLaboklab(64.49% -0.0488 0.1171)
OKLCHoklch(64.49% 0.127 112.6)
XYZxyz(22.4937, 27.5022, 6.3136)
Luminance0.2750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F952A #302A95
analogous
#95652A #8F952A #5A952A
triadic
#8F952A #2A8F95 #952A8F
tetradic
#8F952A #2A9565 #302A95 #952A5A
square
#8F952A #2A9565 #302A95 #952A5A
split-complementary
#8F952A #2A5A95 #652A95
monochromatic
#33360F #61651D #8F952A #BDC537 #CED466

Accessibility & contrast

On white

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

On black

6.50
#8F952A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F952A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F952A#FFFFFF#000000##000000
##8F952A1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E17
Deuteranopia (green-blind)
#A19032
Tritanopia (blue-blind)
#998C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f952a;
/* rgb */ color: rgb(143, 149, 42);
/* oklch */ color: oklch(64.5% 0.127 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b46b',
    500: '#8f952a',
    950: '#000000',
  },
}
SCSS
$custom: #8f952a;
$custom-light: #b3b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f952a",
  "rgb": {
    "r": 143,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 63.364,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64486,
    "c": 0.12686,
    "h": 112.6
  },
  "luminance": 0.27502
}

Semantic roles & 50–950 ramp

primary
#8F952A
secondary
#6661BA
accent
#48DF51
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F952A

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

Preview Lab → · Contrast checker → · Palette generator →

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