#9B9724#9B9724

#9B9724 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.0% C 0.130 H 107.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9B9724
RGBrgb(155, 151, 36)
HSLhsl(58, 62%, 37%)
HSVhsv(58, 77%, 61%)
CMYKcmyk(0%, 2.6%, 76.8%, 39.2%)
CIE-LABlab(60.98, -11.88, 56.63)
CIE-LCHlch(60.98, 57.86, 101.85°)
OKLaboklab(65.96% -0.0389 0.124)
OKLCHoklch(65.96% 0.13 107.4)
XYZxyz(24.9036, 29.2300, 5.9989)
Luminance0.2923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9724 #24289B
analogous
#9B5B24 #9B9724 #649B24
triadic
#9B9724 #249B97 #97249B
tetradic
#9B9724 #249B5B #24289B #9B2464
square
#9B9724 #249B5B #24289B #9B2464
split-complementary
#9B9724 #24649B #5B249B
monochromatic
#38360D #696718 #9B9724 #CDC730 #DAD65F

Accessibility & contrast

On white

3.07
#9B9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#9B9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9724
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9724#FFFFFF#000000##000000
##9B97241.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49108
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#A78D81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9b9724;
/* rgb */ color: rgb(155, 151, 36);
/* oklch */ color: oklch(66.0% 0.130 107.4);
Tailwind
colors: {
  custom: {
    50: '#bcb569',
    500: '#9b9724',
    950: '#000000',
  },
}
SCSS
$custom: #9b9724;
$custom-light: #bcb569;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9724",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 57.983,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65958,
    "c": 0.12992,
    "h": 107.4
  },
  "luminance": 0.29229
}

Semantic roles & 50–950 ramp

primary
#9B9724
secondary
#5C5FBF
accent
#48E542
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9724

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

Preview Lab → · Contrast checker → · Palette generator →

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