#9B8D24#9B8D24

#9B8D24 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.7% C 0.121 H 101.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9B8D24
RGBrgb(155, 141, 36)
HSLhsl(53, 62%, 37%)
HSVhsv(53, 77%, 61%)
CMYKcmyk(0%, 9%, 76.8%, 39.2%)
CIE-LABlab(58.18, -6.52, 54.03)
CIE-LCHlch(58.18, 54.42, 96.88°)
OKLaboklab(63.72% -0.0238 0.1184)
OKLCHoklch(63.72% 0.121 101.4)
XYZxyz(23.3620, 26.1468, 5.4850)
Luminance0.2615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D24 #24329B
analogous
#9B5124 #9B8D24 #6E9B24
triadic
#9B8D24 #249B8D #8D249B
tetradic
#9B8D24 #249B51 #24329B #9B246E
square
#9B8D24 #249B51 #24329B #9B246E
split-complementary
#9B8D24 #246E9B #51249B
monochromatic
#38330D #696018 #9B8D24 #CDBA30 #DACC5F

Accessibility & contrast

On white

3.37
#9B8D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#9B8D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D24
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D24#FFFFFF#000000##000000
##9B8D241.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890E
Deuteranopia (green-blind)
#9F8E2B
Tritanopia (blue-blind)
#A78279
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d24;
/* rgb */ color: rgb(155, 141, 36);
/* oklch */ color: oklch(63.7% 0.121 101.4);
Tailwind
colors: {
  custom: {
    50: '#bcae67',
    500: '#9b8d24',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d24;
$custom-light: #bcae67;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d24",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 52.941,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63723,
    "c": 0.1208,
    "h": 101.4
  },
  "luminance": 0.26146
}

Semantic roles & 50–950 ramp

primary
#9B8D24
secondary
#5C68BF
accent
#56E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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