#9B9752#9B9752

#9B9752 is a light, moderate yellow. Relative luminance 0.297; OKLCH L 66.4% C 0.091 H 105.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9B9752
RGBrgb(155, 151, 82)
HSLhsl(57, 31%, 46%)
HSVhsv(57, 47%, 61%)
CMYKcmyk(0%, 2.6%, 47.1%, 39.2%)
CIE-LABlab(61.40, -8.62, 36.67)
CIE-LCHlch(61.40, 37.67, 103.23°)
OKLaboklab(66.43% -0.0246 0.0877)
OKLCHoklch(66.43% 0.091 105.7)
XYZxyz(26.1077, 29.7117, 12.3407)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9752 #52569B
analogous
#9B7352 #9B9752 #7B9B52
triadic
#9B9752 #529B97 #97529B
tetradic
#9B9752 #529B73 #52569B #9B527B
square
#9B9752 #529B73 #52569B #9B527B
split-complementary
#9B9752 #527B9B #73529B
monochromatic
#4B4928 #73703D #9B9752 #B6B274 #CBC89D

Accessibility & contrast

On white

3.02
#9B9752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#9B9752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9752
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9752#FFFFFF#000000##000000
##9B97521.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1924C
Deuteranopia (green-blind)
#A39655
Tritanopia (blue-blind)
#A48F87
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9b9752;
/* rgb */ color: rgb(155, 151, 82);
/* oklch */ color: oklch(66.4% 0.091 105.7);
Tailwind
colors: {
  custom: {
    50: '#bab584',
    500: '#9b9752',
    950: '#000000',
  },
}
SCSS
$custom: #9b9752;
$custom-light: #bab584;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9752",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 82
  },
  "hsl": {
    "h": 56.712,
    "s": 30.802,
    "l": 46.471
  },
  "oklch": {
    "l": 0.66428,
    "c": 0.09112,
    "h": 105.7
  },
  "luminance": 0.29711
}

Semantic roles & 50–950 ramp

primary
#9B9752
secondary
#9193B8
accent
#66C761
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12110B
muted
#81807C

Preview Lab

Preview with #9B9752

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

Preview Lab → · Contrast checker → · Palette generator →

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