#9B952D#9B952D

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

Color values

HEX#9B952D
RGBrgb(155, 149, 45)
HSLhsl(57, 55%, 39%)
HSVhsv(57, 71%, 61%)
CMYKcmyk(0%, 3.9%, 71%, 39.2%)
CIE-LABlab(60.47, -10.39, 52.86)
CIE-LCHlch(60.47, 53.87, 101.12°)
OKLaboklab(65.57% -0.0338 0.1177)
OKLCHoklch(65.57% 0.122 106)
XYZxyz(24.7396, 28.6538, 6.7097)
Luminance0.2865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B952D #2D339B
analogous
#9B5E2D #9B952D #6A9B2D
triadic
#9B952D #2D9B95 #952D9B
tetradic
#9B952D #2D9B5E #2D339B #9B2D6A
square
#9B952D #2D9B5E #2D339B #9B2D6A
split-complementary
#9B952D #2D6A9B #5E2D9B
monochromatic
#3C3A11 #6C671F #9B952D #C7C03E #D5CF6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B952D#FFFFFF#000000##000000
##9B952D1.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)
#A28F1C
Deuteranopia (green-blind)
#A49434
Tritanopia (blue-blind)
#A68B80
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b952d;
/* rgb */ color: rgb(155, 149, 45);
/* oklch */ color: oklch(65.6% 0.122 106.0);
Tailwind
colors: {
  custom: {
    50: '#bcb36d',
    500: '#9b952d',
    950: '#000000',
  },
}
SCSS
$custom: #9b952d;
$custom-light: #bcb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b952d",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 56.727,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6557,
    "c": 0.12242,
    "h": 106
  },
  "luminance": 0.28653
}

Semantic roles & 50–950 ramp

primary
#9B952D
secondary
#686CBC
accent
#52DE49
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9B952D

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

Preview Lab → · Contrast checker → · Palette generator →

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