#8F952B#8F952B

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

Color values

HEX#8F952B
RGBrgb(143, 149, 43)
HSLhsl(63, 55%, 38%)
HSVhsv(63, 71%, 58%)
CMYKcmyk(4%, 0%, 71.1%, 41.6%)
CIE-LABlab(59.44, -15.83, 52.28)
CIE-LCHlch(59.44, 54.62, 106.84°)
OKLaboklab(64.49% -0.0486 0.1165)
OKLCHoklch(64.49% 0.126 112.6)
XYZxyz(22.5119, 27.5095, 6.4090)
Luminance0.2751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F952B #312B95
analogous
#95662B #8F952B #5A952B
triadic
#8F952B #2B8F95 #952B8F
tetradic
#8F952B #2B9566 #312B95 #952B5A
square
#8F952B #2B9566 #312B95 #952B5A
split-complementary
#8F952B #2B5A95 #662B95
monochromatic
#343610 #61661D #8F952B #BDC439 #CDD367

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F952B#FFFFFF#000000##000000
##8F952B1.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)
#A08E19
Deuteranopia (green-blind)
#A19033
Tritanopia (blue-blind)
#998C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f952b;
/* rgb */ color: rgb(143, 149, 43);
/* oklch */ color: oklch(64.5% 0.126 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b46c',
    500: '#8f952b',
    950: '#000000',
  },
}
SCSS
$custom: #8f952b;
$custom-light: #b3b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f952b",
  "rgb": {
    "r": 143,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 63.396,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64493,
    "c": 0.12619,
    "h": 112.6
  },
  "luminance": 0.27509
}

Semantic roles & 50–950 ramp

primary
#8F952B
secondary
#6762BA
accent
#49DF52
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F952B

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

Preview Lab → · Contrast checker → · Palette generator →

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