#9B8F24#9B8F24

#9B8F24 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.123 H 102.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9B8F24
RGBrgb(155, 143, 36)
HSLhsl(54, 62%, 37%)
HSVhsv(54, 77%, 61%)
CMYKcmyk(0%, 7.7%, 76.8%, 39.2%)
CIE-LABlab(58.73, -7.60, 54.55)
CIE-LCHlch(58.73, 55.07, 97.94°)
OKLaboklab(64.17% -0.0269 0.1195)
OKLCHoklch(64.17% 0.123 102.7)
XYZxyz(23.6595, 26.7419, 5.5842)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8F24 #24309B
analogous
#9B5424 #9B8F24 #6B9B24
triadic
#9B8F24 #249B8F #8F249B
tetradic
#9B8F24 #249B54 #24309B #9B246B
square
#9B8F24 #249B54 #24309B #9B246B
split-complementary
#9B8F24 #246B9B #54249B
monochromatic
#38330D #696118 #9B8F24 #CDBD30 #DACE5F

Accessibility & contrast

On white

3.31
#9B8F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#9B8F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8F24
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8F24#FFFFFF#000000##000000
##9B8F241.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A0D
Deuteranopia (green-blind)
#A0902C
Tritanopia (blue-blind)
#A7847B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8f24;
/* rgb */ color: rgb(155, 143, 36);
/* oklch */ color: oklch(64.2% 0.123 102.7);
Tailwind
colors: {
  custom: {
    50: '#bcaf68',
    500: '#9b8f24',
    950: '#000000',
  },
}
SCSS
$custom: #9b8f24;
$custom-light: #bcaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8f24",
  "rgb": {
    "r": 155,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 53.95,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64167,
    "c": 0.12252,
    "h": 102.7
  },
  "luminance": 0.26741
}

Semantic roles & 50–950 ramp

primary
#9B8F24
secondary
#5C66BF
accent
#53E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B8F24

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

Preview Lab → · Contrast checker → · Palette generator →

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