#9B9824#9B9824

#9B9824 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.2% C 0.131 H 108.0°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9B9824
RGBrgb(155, 152, 36)
HSLhsl(58, 62%, 37%)
HSVhsv(58, 77%, 61%)
CMYKcmyk(0%, 1.9%, 76.8%, 39.2%)
CIE-LABlab(61.27, -12.41, 56.89)
CIE-LCHlch(61.27, 58.23, 102.31°)
OKLaboklab(66.18% -0.0404 0.1245)
OKLCHoklch(66.18% 0.131 108)
XYZxyz(25.0652, 29.5533, 6.0527)
Luminance0.2955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9824 #24279B
analogous
#9B5C24 #9B9824 #639B24
triadic
#9B9824 #249B98 #98249B
tetradic
#9B9824 #249B5C #24279B #9B2463
square
#9B9824 #249B5C #24279B #9B2463
split-complementary
#9B9824 #24639B #5C249B
monochromatic
#38370D #696718 #9B9824 #CDC930 #DAD75F

Accessibility & contrast

On white

3.04
#9B9824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#9B9824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9824
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9824#FFFFFF#000000##000000
##9B98241.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59207
Deuteranopia (green-blind)
#A7962D
Tritanopia (blue-blind)
#A78E82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9b9824;
/* rgb */ color: rgb(155, 152, 36);
/* oklch */ color: oklch(66.2% 0.131 108.0);
Tailwind
colors: {
  custom: {
    50: '#bcb669',
    500: '#9b9824',
    950: '#000000',
  },
}
SCSS
$custom: #9b9824;
$custom-light: #bcb669;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9824",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 36
  },
  "hsl": {
    "h": 58.487,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66184,
    "c": 0.13089,
    "h": 108
  },
  "luminance": 0.29552
}

Semantic roles & 50–950 ramp

primary
#9B9824
secondary
#5C5EBF
accent
#47E542
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9824

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

Preview Lab → · Contrast checker → · Palette generator →

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