#9B8529#9B8529

#9B8529 is a light, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.111 H 95.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9B8529
RGBrgb(155, 133, 41)
HSLhsl(48, 58%, 38%)
HSVhsv(48, 74%, 61%)
CMYKcmyk(0%, 14.2%, 73.5%, 39.2%)
CIE-LABlab(55.99, -1.90, 50.03)
CIE-LCHlch(55.99, 50.07, 92.17°)
OKLaboklab(62% -0.0102 0.1109)
OKLCHoklch(62% 0.111 95.2)
XYZxyz(22.3065, 23.9049, 5.5366)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8529 #293F9B
analogous
#9B4C29 #9B8529 #789B29
triadic
#9B8529 #299B85 #85299B
tetradic
#9B8529 #299B4C #293F9B #9B2978
square
#9B8529 #299B4C #293F9B #9B2978
split-complementary
#9B8529 #29789B #4C299B
monochromatic
#3A320F #6B5B1C #9B8529 #CAAE37 #D7C167

Accessibility & contrast

On white

3.63
#9B8529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#9B8529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8529
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8529#FFFFFF#000000##000000
##9B85291.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#A87A73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9b8529;
/* rgb */ color: rgb(155, 133, 41);
/* oklch */ color: oklch(62.0% 0.111 95.2);
Tailwind
colors: {
  custom: {
    50: '#bca869',
    500: '#9b8529',
    950: '#000000',
  },
}
SCSS
$custom: #9b8529;
$custom-light: #bca869;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8529",
  "rgb": {
    "r": 155,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 48.421,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62003,
    "c": 0.1114,
    "h": 95.2
  },
  "luminance": 0.23904
}

Semantic roles & 50–950 ramp

primary
#9B8529
secondary
#6374BD
accent
#64E146
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9B8529

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

Preview Lab → · Contrast checker → · Palette generator →

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