#9F952A#9F952A

#9F952A is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.9% C 0.124 H 103.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9F952A
RGBrgb(159, 149, 42)
HSLhsl(55, 58%, 39%)
HSVhsv(55, 74%, 62%)
CMYKcmyk(0%, 6.3%, 73.6%, 37.6%)
CIE-LABlab(60.81, -8.75, 54.46)
CIE-LCHlch(60.81, 55.16, 99.13°)
OKLaboklab(65.92% -0.0297 0.1204)
OKLCHoklch(65.92% 0.124 103.9)
XYZxyz(25.4645, 29.0340, 6.4528)
Luminance0.2903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F952A #2A349F
analogous
#9F5B2A #9F952A #6F9F2A
triadic
#9F952A #2A9F95 #952A9F
tetradic
#9F952A #2A9F5B #2A349F #9F2A6F
square
#9F952A #2A9F5B #2A349F #9F2A6F
split-complementary
#9F952A #2A6F9F #5B2A9F
monochromatic
#3E3A10 #6F681D #9F952A #CBBF3B #D8CF6B

Accessibility & contrast

On white

3.09
#9F952A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F952A#FFFFFF#000000##000000
##9F952A1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39017
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#AB8A80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f952a;
/* rgb */ color: rgb(159, 149, 42);
/* oklch */ color: oklch(65.9% 0.124 103.9);
Tailwind
colors: {
  custom: {
    50: '#bfb36b',
    500: '#9f952a',
    950: '#000000',
  },
}
SCSS
$custom: #9f952a;
$custom-light: #bfb36b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f952a",
  "rgb": {
    "r": 159,
    "g": 149,
    "b": 42
  },
  "hsl": {
    "h": 54.872,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65917,
    "c": 0.12397,
    "h": 103.9
  },
  "luminance": 0.29033
}

Semantic roles & 50–950 ramp

primary
#9F952A
secondary
#666EBF
accent
#54E146
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F952A

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

Preview Lab → · Contrast checker → · Palette generator →

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