#9B9225#9B9225

#9B9225 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#9B9225
RGBrgb(155, 146, 37)
HSLhsl(55, 61%, 38%)
HSVhsv(55, 76%, 61%)
CMYKcmyk(0%, 5.8%, 76.1%, 39.2%)
CIE-LABlab(59.58, -9.18, 54.98)
CIE-LCHlch(59.58, 55.74, 99.47°)
OKLaboklab(64.84% -0.0312 0.1207)
OKLCHoklch(64.84% 0.125 104.5)
XYZxyz(24.1314, 27.6609, 5.8179)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9225 #252E9B
analogous
#9B5725 #9B9225 #699B25
triadic
#9B9225 #259B92 #92259B
tetradic
#9B9225 #259B57 #252E9B #9B2569
square
#9B9225 #259B57 #252E9B #9B2569
split-complementary
#9B9225 #25699B #57259B
monochromatic
#38350D #6A6319 #9B9225 #CCC131 #D9D061

Accessibility & contrast

On white

3.21
#9B9225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B9225#FFFFFF#000000##000000
##9B92251.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9225;
/* rgb */ color: rgb(155, 146, 37);
/* oklch */ color: oklch(64.8% 0.125 104.5);
Tailwind
colors: {
  custom: {
    50: '#bcb168',
    500: '#9b9225',
    950: '#000000',
  },
}
SCSS
$custom: #9b9225;
$custom-light: #bcb168;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9225",
  "rgb": {
    "r": 155,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 55.424,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64842,
    "c": 0.12462,
    "h": 104.5
  },
  "luminance": 0.2766
}

Semantic roles & 50–950 ramp

primary
#9B9225
secondary
#5D65BF
accent
#50E543
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B9225

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

Preview Lab → · Contrast checker → · Palette generator →

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