#9B8D30#9B8D30

#9B8D30 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.8% C 0.113 H 100.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9B8D30
RGBrgb(155, 141, 48)
HSLhsl(52, 53%, 40%)
HSVhsv(52, 69%, 61%)
CMYKcmyk(0%, 9%, 69%, 39.2%)
CIE-LABlab(58.26, -5.91, 49.40)
CIE-LCHlch(58.26, 49.75, 96.83°)
OKLaboklab(63.81% -0.0208 0.1109)
OKLCHoklch(63.81% 0.113 100.6)
XYZxyz(23.5770, 26.2328, 6.6173)
Luminance0.2623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D30 #303E9B
analogous
#9B5830 #9B8D30 #739B30
triadic
#9B8D30 #309B8D #8D309B
tetradic
#9B8D30 #309B58 #303E9B #9B3073
square
#9B8D30 #309B58 #303E9B #9B3073
split-complementary
#9B8D30 #30739B #58309B
monochromatic
#3E3813 #6C6222 #9B8D30 #C5B443 #D3C772

Accessibility & contrast

On white

3.36
#9B8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9B8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D30
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D30#FFFFFF#000000##000000
##9B8D301.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8923
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#A7837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d30;
/* rgb */ color: rgb(155, 141, 48);
/* oklch */ color: oklch(63.8% 0.113 100.6);
Tailwind
colors: {
  custom: {
    50: '#bcae6e',
    500: '#9b8d30',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d30;
$custom-light: #bcae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d30",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 52.15,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63814,
    "c": 0.11283,
    "h": 100.6
  },
  "luminance": 0.26232
}

Semantic roles & 50–950 ramp

primary
#9B8D30
secondary
#6C76BB
accent
#5FDC4C
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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