#9B9825#9B9825

#9B9825 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.2% C 0.130 H 107.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9B9825
RGBrgb(155, 152, 37)
HSLhsl(58, 61%, 38%)
HSVhsv(58, 76%, 61%)
CMYKcmyk(0%, 1.9%, 76.1%, 39.2%)
CIE-LABlab(61.27, -12.37, 56.56)
CIE-LCHlch(61.27, 57.89, 102.33°)
OKLaboklab(66.19% -0.0402 0.124)
OKLCHoklch(66.19% 0.13 107.9)
XYZxyz(25.0807, 29.5594, 6.1343)
Luminance0.2956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9825 #25289B
analogous
#9B5D25 #9B9825 #639B25
triadic
#9B9825 #259B98 #98259B
tetradic
#9B9825 #259B5D #25289B #9B2563
square
#9B9825 #259B5D #25289B #9B2563
split-complementary
#9B9825 #25639B #5D259B
monochromatic
#38370D #6A6819 #9B9825 #CCC831 #D9D661

Accessibility & contrast

On white

3.04
#9B9825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#9B9825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9825
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9825#FFFFFF#000000##000000
##9B98251.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5920A
Deuteranopia (green-blind)
#A7962E
Tritanopia (blue-blind)
#A78E82
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9b9825;
/* rgb */ color: rgb(155, 152, 37);
/* oklch */ color: oklch(66.2% 0.130 107.9);
Tailwind
colors: {
  custom: {
    50: '#bcb669',
    500: '#9b9825',
    950: '#000000',
  },
}
SCSS
$custom: #9b9825;
$custom-light: #bcb669;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9825",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 58.475,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6619,
    "c": 0.13034,
    "h": 107.9
  },
  "luminance": 0.29559
}

Semantic roles & 50–950 ramp

primary
#9B9825
secondary
#5D60BF
accent
#47E543
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9825

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

Preview Lab → · Contrast checker → · Palette generator →

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