#9B9224#9B9224

#9B9224 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.8% C 0.125 H 104.5°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9B9224
RGBrgb(155, 146, 36)
HSLhsl(55, 62%, 37%)
HSVhsv(55, 77%, 61%)
CMYKcmyk(0%, 5.8%, 76.8%, 39.2%)
CIE-LABlab(59.58, -9.22, 55.33)
CIE-LCHlch(59.58, 56.09, 99.46°)
OKLaboklab(64.84% -0.0314 0.1212)
OKLCHoklch(64.84% 0.125 104.5)
XYZxyz(24.1159, 27.6547, 5.7363)
Luminance0.2765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9224 #242D9B
analogous
#9B5624 #9B9224 #699B24
triadic
#9B9224 #249B92 #92249B
tetradic
#9B9224 #249B56 #242D9B #9B2469
square
#9B9224 #249B56 #242D9B #9B2469
split-complementary
#9B9224 #24699B #56249B
monochromatic
#38340D #696318 #9B9224 #CDC130 #DAD15F

Accessibility & contrast

On white

3.22
#9B9224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#9B9224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9224
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9224#FFFFFF#000000##000000
##9B92241.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D0B
Deuteranopia (green-blind)
#A2922C
Tritanopia (blue-blind)
#A7887D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9b9224;
/* rgb */ color: rgb(155, 146, 36);
/* oklch */ color: oklch(64.8% 0.125 104.5);
Tailwind
colors: {
  custom: {
    50: '#bcb168',
    500: '#9b9224',
    950: '#000000',
  },
}
SCSS
$custom: #9b9224;
$custom-light: #bcb168;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9224",
  "rgb": {
    "r": 155,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 55.462,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64836,
    "c": 0.1252,
    "h": 104.5
  },
  "luminance": 0.27654
}

Semantic roles & 50–950 ramp

primary
#9B9224
secondary
#5C63BF
accent
#4FE542
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B9224

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

Preview Lab → · Contrast checker → · Palette generator →

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