#9B8530#9B8530

#9B8530 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.106 H 94.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9B8530
RGBrgb(155, 133, 48)
HSLhsl(48, 53%, 40%)
HSVhsv(48, 69%, 61%)
CMYKcmyk(0%, 14.2%, 69%, 39.2%)
CIE-LABlab(56.05, -1.52, 47.12)
CIE-LCHlch(56.05, 47.14, 91.84°)
OKLaboklab(62.06% -0.0083 0.1061)
OKLCHoklch(62.06% 0.106 94.5)
XYZxyz(22.4397, 23.9582, 6.2382)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8530 #30469B
analogous
#9B5030 #9B8530 #7B9B30
triadic
#9B8530 #309B85 #85309B
tetradic
#9B8530 #309B50 #30469B #9B307B
square
#9B8530 #309B50 #30469B #9B307B
split-complementary
#9B8530 #307B9B #50309B
monochromatic
#3E3513 #6C5D22 #9B8530 #C5AA43 #D3BF72

Accessibility & contrast

On white

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

On black

5.79
#9B8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8530
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8530#FFFFFF#000000##000000
##9B85301.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938225
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#A77B73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9b8530;
/* rgb */ color: rgb(155, 133, 48);
/* oklch */ color: oklch(62.1% 0.106 94.5);
Tailwind
colors: {
  custom: {
    50: '#bca86d',
    500: '#9b8530',
    950: '#000000',
  },
}
SCSS
$custom: #9b8530;
$custom-light: #bca86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8530",
  "rgb": {
    "r": 155,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 47.664,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62062,
    "c": 0.10639,
    "h": 94.5
  },
  "luminance": 0.23957
}

Semantic roles & 50–950 ramp

primary
#9B8530
secondary
#6C7CBB
accent
#69DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9B8530

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

Preview Lab → · Contrast checker → · Palette generator →

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