#9B8930#9B8930

#9B8930 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.9% C 0.109 H 97.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9B8930
RGBrgb(155, 137, 48)
HSLhsl(50, 53%, 40%)
HSVhsv(50, 69%, 61%)
CMYKcmyk(0%, 11.6%, 69%, 39.2%)
CIE-LABlab(57.15, -3.72, 48.26)
CIE-LCHlch(57.15, 48.40, 94.41°)
OKLaboklab(62.93% -0.0146 0.1085)
OKLCHoklch(62.93% 0.109 97.7)
XYZxyz(22.9978, 25.0744, 6.4242)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8930 #30429B
analogous
#9B5430 #9B8930 #779B30
triadic
#9B8930 #309B89 #89309B
tetradic
#9B8930 #309B54 #30429B #9B3077
square
#9B8930 #309B54 #30429B #9B3077
split-complementary
#9B8930 #30779B #54309B
monochromatic
#3E3613 #6C6022 #9B8930 #C5AF43 #D3C372

Accessibility & contrast

On white

3.49
#9B8930 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#9B8930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8930
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8930#FFFFFF#000000##000000
##9B89301.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968624
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#A77F77
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9b8930;
/* rgb */ color: rgb(155, 137, 48);
/* oklch */ color: oklch(62.9% 0.109 97.7);
Tailwind
colors: {
  custom: {
    50: '#bcab6d',
    500: '#9b8930',
    950: '#000000',
  },
}
SCSS
$custom: #9b8930;
$custom-light: #bcab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8930",
  "rgb": {
    "r": 155,
    "g": 137,
    "b": 48
  },
  "hsl": {
    "h": 49.907,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62934,
    "c": 0.10946,
    "h": 97.7
  },
  "luminance": 0.25073
}

Semantic roles & 50–950 ramp

primary
#9B8930
secondary
#6C79BB
accent
#64DC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8930

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

Preview Lab → · Contrast checker → · Palette generator →

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