#9B952B#9B952B

#9B952B is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.6% C 0.124 H 106.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9B952B
RGBrgb(155, 149, 43)
HSLhsl(57, 57%, 39%)
HSVhsv(57, 72%, 61%)
CMYKcmyk(0%, 3.9%, 72.3%, 39.2%)
CIE-LABlab(60.46, -10.49, 53.62)
CIE-LCHlch(60.46, 54.64, 101.07°)
OKLaboklab(65.55% -0.0343 0.1189)
OKLCHoklch(65.55% 0.124 106.1)
XYZxyz(24.7020, 28.6388, 6.5117)
Luminance0.2864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B952B #2B319B
analogous
#9B5D2B #9B952B #699B2B
triadic
#9B952B #2B9B95 #952B9B
tetradic
#9B952B #2B9B5D #2B319B #9B2B69
square
#9B952B #2B9B5D #2B319B #9B2B69
split-complementary
#9B952B #2B699B #5D2B9B
monochromatic
#3B3910 #6B671E #9B952B #C9C13B #D6D06B

Accessibility & contrast

On white

3.12
#9B952B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#9B952B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B952B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B952B#FFFFFF#000000##000000
##9B952B1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F19
Deuteranopia (green-blind)
#A49432
Tritanopia (blue-blind)
#A78B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b952b;
/* rgb */ color: rgb(155, 149, 43);
/* oklch */ color: oklch(65.6% 0.124 106.1);
Tailwind
colors: {
  custom: {
    50: '#bcb36c',
    500: '#9b952b',
    950: '#000000',
  },
}
SCSS
$custom: #9b952b;
$custom-light: #bcb36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b952b",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 43
  },
  "hsl": {
    "h": 56.786,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65555,
    "c": 0.12375,
    "h": 106.1
  },
  "luminance": 0.28638
}

Semantic roles & 50–950 ramp

primary
#9B952B
secondary
#656ABC
accent
#50E048
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B952B

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

Preview Lab → · Contrast checker → · Palette generator →

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