#9B9725#9B9725

#9B9725 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 66.0% C 0.129 H 107.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9B9725
RGBrgb(155, 151, 37)
HSLhsl(58, 61%, 38%)
HSVhsv(58, 76%, 61%)
CMYKcmyk(0%, 2.6%, 76.1%, 39.2%)
CIE-LABlab(60.99, -11.84, 56.29)
CIE-LCHlch(60.99, 57.53, 101.88°)
OKLaboklab(65.96% -0.0387 0.1234)
OKLCHoklch(65.96% 0.129 107.4)
XYZxyz(24.9191, 29.2362, 6.0804)
Luminance0.2923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9725 #25299B
analogous
#9B5C25 #9B9725 #649B25
triadic
#9B9725 #259B97 #97259B
tetradic
#9B9725 #259B5C #25299B #9B2564
square
#9B9725 #259B5C #25299B #9B2564
split-complementary
#9B9725 #25649B #5C259B
monochromatic
#38370D #6A6719 #9B9725 #CCC731 #D9D561

Accessibility & contrast

On white

3.07
#9B9725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#9B9725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9725
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9725#FFFFFF#000000##000000
##9B97251.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910B
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#A78D81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9b9725;
/* rgb */ color: rgb(155, 151, 37);
/* oklch */ color: oklch(66.0% 0.129 107.4);
Tailwind
colors: {
  custom: {
    50: '#bcb569',
    500: '#9b9725',
    950: '#000000',
  },
}
SCSS
$custom: #9b9725;
$custom-light: #bcb569;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9725",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 57.966,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65964,
    "c": 0.12936,
    "h": 107.4
  },
  "luminance": 0.29235
}

Semantic roles & 50–950 ramp

primary
#9B9725
secondary
#5D61BF
accent
#49E543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9725

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

Preview Lab → · Contrast checker → · Palette generator →

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