#9B9527#9B9527

#9B9527 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.5% C 0.126 H 106.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9B9527
RGBrgb(155, 149, 39)
HSLhsl(57, 60%, 38%)
HSVhsv(57, 75%, 61%)
CMYKcmyk(0%, 3.9%, 74.8%, 39.2%)
CIE-LABlab(60.44, -10.69, 55.08)
CIE-LCHlch(60.44, 56.10, 100.98°)
OKLaboklab(65.53% -0.0353 0.1212)
OKLCHoklch(65.53% 0.126 106.2)
XYZxyz(24.6322, 28.6108, 6.1440)
Luminance0.2861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9527 #272D9B
analogous
#9B5B27 #9B9527 #679B27
triadic
#9B9527 #279B95 #95279B
tetradic
#9B9527 #279B5B #272D9B #9B2767
square
#9B9527 #279B5B #272D9B #9B2767
split-complementary
#9B9527 #27679B #5B279B
monochromatic
#39370E #6A661B #9B9527 #CCC433 #D8D264

Accessibility & contrast

On white

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

On black

6.72
#9B9527 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9527
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9527#FFFFFF#000000##000000
##9B95271.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9527;
/* rgb */ color: rgb(155, 149, 39);
/* oklch */ color: oklch(65.5% 0.126 106.2);
Tailwind
colors: {
  custom: {
    50: '#bcb36a',
    500: '#9b9527',
    950: '#000000',
  },
}
SCSS
$custom: #9b9527;
$custom-light: #bcb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9527",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 39
  },
  "hsl": {
    "h": 56.897,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65527,
    "c": 0.12627,
    "h": 106.2
  },
  "luminance": 0.2861
}

Semantic roles & 50–950 ramp

primary
#9B9527
secondary
#6065BE
accent
#4DE345
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9527

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

Preview Lab → · Contrast checker → · Palette generator →

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