#9B8D33#9B8D33

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

Color values

HEX#9B8D33
RGBrgb(155, 141, 51)
HSLhsl(52, 50%, 40%)
HSVhsv(52, 67%, 61%)
CMYKcmyk(0%, 9%, 67.1%, 39.2%)
CIE-LABlab(58.28, -5.73, 48.13)
CIE-LCHlch(58.28, 48.47, 96.79°)
OKLaboklab(63.84% -0.0199 0.1087)
OKLCHoklch(63.84% 0.111 100.4)
XYZxyz(23.6410, 26.2584, 6.9544)
Luminance0.2626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D33 #33419B
analogous
#9B5933 #9B8D33 #759B33
triadic
#9B8D33 #339B8D #8D339B
tetradic
#9B8D33 #339B59 #33419B #9B3375
square
#9B8D33 #339B59 #33419B #9B3375
split-complementary
#9B8D33 #33759B #59339B
monochromatic
#3F3915 #6D6324 #9B8D33 #C3B248 #D2C676

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B8D33#FFFFFF#000000##000000
##9B8D331.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)
#9A8927
Deuteranopia (green-blind)
#9E8E38
Tritanopia (blue-blind)
#A7837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d33;
/* rgb */ color: rgb(155, 141, 51);
/* oklch */ color: oklch(63.8% 0.111 100.4);
Tailwind
colors: {
  custom: {
    50: '#bbae6f',
    500: '#9b8d33',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d33;
$custom-light: #bbae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d33",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 51.923,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63841,
    "c": 0.11054,
    "h": 100.4
  },
  "luminance": 0.26257
}

Semantic roles & 50–950 ramp

primary
#9B8D33
secondary
#6F79BA
accent
#61DA4E
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9B8D33

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

Preview Lab → · Contrast checker → · Palette generator →

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