#9B9530#9B9530

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

Color values

HEX#9B9530
RGBrgb(155, 149, 48)
HSLhsl(57, 53%, 40%)
HSVhsv(57, 69%, 61%)
CMYKcmyk(0%, 3.9%, 69%, 39.2%)
CIE-LABlab(60.50, -10.22, 51.67)
CIE-LCHlch(60.50, 52.68, 101.19°)
OKLaboklab(65.59% -0.033 0.1157)
OKLCHoklch(65.59% 0.12 105.9)
XYZxyz(24.7995, 28.6777, 7.0248)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9530 #30369B
analogous
#9B6030 #9B9530 #6B9B30
triadic
#9B9530 #309B95 #95309B
tetradic
#9B9530 #309B60 #30369B #9B306B
square
#9B9530 #309B60 #30369B #9B306B
split-complementary
#9B9530 #306B9B #60309B
monochromatic
#3E3B13 #6C6822 #9B9530 #C5BE43 #D3CE72

Accessibility & contrast

On white

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

On black

6.74
#9B9530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9530
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9530#FFFFFF#000000##000000
##9B95301.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F21
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#A68B81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b9530;
/* rgb */ color: rgb(155, 149, 48);
/* oklch */ color: oklch(65.6% 0.120 105.9);
Tailwind
colors: {
  custom: {
    50: '#bcb36e',
    500: '#9b9530',
    950: '#000000',
  },
}
SCSS
$custom: #9b9530;
$custom-light: #bcb36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9530",
  "rgb": {
    "r": 155,
    "g": 149,
    "b": 48
  },
  "hsl": {
    "h": 56.636,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65594,
    "c": 0.12032,
    "h": 105.9
  },
  "luminance": 0.28677
}

Semantic roles & 50–950 ramp

primary
#9B9530
secondary
#6C70BB
accent
#54DC4C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9B9530

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

Preview Lab → · Contrast checker → · Palette generator →

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