#9F952F#9F952F

#9F952F is a light, vivid yellow. Relative luminance 0.291; OKLCH L 66.0% C 0.121 H 103.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9F952F
RGBrgb(159, 149, 47)
HSLhsl(55, 54%, 40%)
HSVhsv(55, 70%, 62%)
CMYKcmyk(0%, 6.3%, 70.4%, 37.6%)
CIE-LABlab(60.85, -8.50, 52.55)
CIE-LCHlch(60.85, 53.23, 99.19°)
OKLaboklab(65.96% -0.0285 0.1172)
OKLCHoklch(65.96% 0.121 103.7)
XYZxyz(25.5597, 29.0721, 6.9539)
Luminance0.2907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F952F #2F399F
analogous
#9F5D2F #9F952F #719F2F
triadic
#9F952F #2F9F95 #952F9F
tetradic
#9F952F #2F9F5D #2F399F #9F2F71
square
#9F952F #2F9F5D #2F399F #9F2F71
split-complementary
#9F952F #2F719F #5D2F9F
monochromatic
#413C13 #706921 #9F952F #C8BC44 #D6CD73

Accessibility & contrast

On white

3.08
#9F952F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#9F952F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F952F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F952F#FFFFFF#000000##000000
##9F952F1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29020
Deuteranopia (green-blind)
#A69536
Tritanopia (blue-blind)
#AB8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f952f;
/* rgb */ color: rgb(159, 149, 47);
/* oklch */ color: oklch(66.0% 0.121 103.7);
Tailwind
colors: {
  custom: {
    50: '#bfb36e',
    500: '#9f952f',
    950: '#000000',
  },
}
SCSS
$custom: #9f952f;
$custom-light: #bfb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f952f",
  "rgb": {
    "r": 159,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 54.643,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65955,
    "c": 0.12064,
    "h": 103.7
  },
  "luminance": 0.29071
}

Semantic roles & 50–950 ramp

primary
#9F952F
secondary
#6D74BD
accent
#57DE4A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F952F

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

Preview Lab → · Contrast checker → · Palette generator →

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