#9F952B#9F952B

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

Color values

HEX#9F952B
RGBrgb(159, 149, 43)
HSLhsl(55, 57%, 40%)
HSVhsv(55, 73%, 62%)
CMYKcmyk(0%, 6.3%, 73%, 37.6%)
CIE-LABlab(60.82, -8.70, 54.09)
CIE-LCHlch(60.82, 54.78, 99.14°)
OKLaboklab(65.92% -0.0295 0.1198)
OKLCHoklch(65.92% 0.123 103.8)
XYZxyz(25.4827, 29.0413, 6.5483)
Luminance0.2904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F952B #2B359F
analogous
#9F5B2B #9F952B #6F9F2B
triadic
#9F952B #2B9F95 #952B9F
tetradic
#9F952B #2B9F5B #2B359F #9F2B6F
square
#9F952B #2B9F5B #2B359F #9F2B6F
split-complementary
#9F952B #2B6F9F #5B2B9F
monochromatic
#3F3B11 #6F681E #9F952B #CABE3D #D7CE6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F952B#FFFFFF#000000##000000
##9F952B1.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)
#A39019
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#AB8A80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f952b;
/* rgb */ color: rgb(159, 149, 43);
/* oklch */ color: oklch(65.9% 0.123 103.8);
Tailwind
colors: {
  custom: {
    50: '#bfb36c',
    500: '#9f952b',
    950: '#000000',
  },
}
SCSS
$custom: #9f952b;
$custom-light: #bfb36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f952b",
  "rgb": {
    "r": 159,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 54.828,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65924,
    "c": 0.12333,
    "h": 103.8
  },
  "luminance": 0.2904
}

Semantic roles & 50–950 ramp

primary
#9F952B
secondary
#676FBE
accent
#54E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9F952B

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

Preview Lab → · Contrast checker → · Palette generator →

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