#9B8E24#9B8E24

#9B8E24 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.9% C 0.122 H 102.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9B8E24
RGBrgb(155, 142, 36)
HSLhsl(53, 62%, 37%)
HSVhsv(53, 77%, 61%)
CMYKcmyk(0%, 8.4%, 76.8%, 39.2%)
CIE-LABlab(58.46, -7.06, 54.29)
CIE-LCHlch(58.46, 54.74, 97.41°)
OKLaboklab(63.94% -0.0254 0.119)
OKLCHoklch(63.94% 0.122 102)
XYZxyz(23.5101, 26.4430, 5.5344)
Luminance0.2644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8E24 #24319B
analogous
#9B5224 #9B8E24 #6D9B24
triadic
#9B8E24 #249B8E #8E249B
tetradic
#9B8E24 #249B52 #24319B #9B246D
square
#9B8E24 #249B52 #24319B #9B246D
split-complementary
#9B8E24 #246D9B #52249B
monochromatic
#38330D #696118 #9B8E24 #CDBB30 #DACD5F

Accessibility & contrast

On white

3.34
#9B8E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#9B8E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8E24
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8E24#FFFFFF#000000##000000
##9B8E241.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C890E
Deuteranopia (green-blind)
#A08F2C
Tritanopia (blue-blind)
#A7837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8e24;
/* rgb */ color: rgb(155, 142, 36);
/* oklch */ color: oklch(63.9% 0.122 102.0);
Tailwind
colors: {
  custom: {
    50: '#bcae67',
    500: '#9b8e24',
    950: '#000000',
  },
}
SCSS
$custom: #9b8e24;
$custom-light: #bcae67;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8e24",
  "rgb": {
    "r": 155,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 53.445,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63945,
    "c": 0.12164,
    "h": 102
  },
  "luminance": 0.26442
}

Semantic roles & 50–950 ramp

primary
#9B8E24
secondary
#5C67BF
accent
#54E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B8E24

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

Preview Lab → · Contrast checker → · Palette generator →

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