#9B8524#9B8524

#9B8524 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.115 H 95.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9B8524
RGBrgb(155, 133, 36)
HSLhsl(49, 62%, 37%)
HSVhsv(49, 77%, 61%)
CMYKcmyk(0%, 14.2%, 76.8%, 39.2%)
CIE-LABlab(55.96, -2.13, 51.95)
CIE-LCHlch(55.96, 51.99, 92.35°)
OKLaboklab(61.97% -0.0114 0.114)
OKLCHoklch(61.97% 0.115 95.7)
XYZxyz(22.2247, 23.8722, 5.1059)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8524 #243A9B
analogous
#9B4A24 #9B8524 #759B24
triadic
#9B8524 #249B85 #85249B
tetradic
#9B8524 #249B4A #243A9B #9B2475
square
#9B8524 #249B4A #243A9B #9B2475
split-complementary
#9B8524 #24759B #4A249B
monochromatic
#38300D #695A18 #9B8524 #CDB030 #DAC35F

Accessibility & contrast

On white

3.64
#9B8524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#9B8524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8524
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8524#FFFFFF#000000##000000
##9B85241.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#A87A72
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9b8524;
/* rgb */ color: rgb(155, 133, 36);
/* oklch */ color: oklch(62.0% 0.115 95.7);
Tailwind
colors: {
  custom: {
    50: '#bca866',
    500: '#9b8524',
    950: '#000000',
  },
}
SCSS
$custom: #9b8524;
$custom-light: #bca866;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8524",
  "rgb": {
    "r": 155,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 48.908,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.11456,
    "h": 95.7
  },
  "luminance": 0.23871
}

Semantic roles & 50–950 ramp

primary
#9B8524
secondary
#5C6EBF
accent
#61E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9B8524

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

Preview Lab → · Contrast checker → · Palette generator →

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