#9B8D34#9B8D34

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

Color values

HEX#9B8D34
RGBrgb(155, 141, 52)
HSLhsl(52, 50%, 41%)
HSVhsv(52, 66%, 61%)
CMYKcmyk(0%, 9%, 66.5%, 39.2%)
CIE-LABlab(58.29, -5.67, 47.69)
CIE-LCHlch(58.29, 48.03, 96.78°)
OKLaboklab(63.85% -0.0196 0.108)
OKLCHoklch(63.85% 0.11 100.3)
XYZxyz(23.6633, 26.2673, 7.0718)
Luminance0.2627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D34 #34429B
analogous
#9B5A34 #9B8D34 #759B34
triadic
#9B8D34 #349B8D #8D349B
tetradic
#9B8D34 #349B5A #34429B #9B3475
square
#9B8D34 #349B5A #34429B #9B3475
split-complementary
#9B8D34 #34759B #5A349B
monochromatic
#3F3A15 #6D6325 #9B8D34 #C2B24A #D2C578

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B8D34#FFFFFF#000000##000000
##9B8D341.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)
#9A8929
Deuteranopia (green-blind)
#9E8E39
Tritanopia (blue-blind)
#A7837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9b8d34;
/* rgb */ color: rgb(155, 141, 52);
/* oklch */ color: oklch(63.8% 0.110 100.3);
Tailwind
colors: {
  custom: {
    50: '#bbae70',
    500: '#9b8d34',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d34;
$custom-light: #bbae70;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d34",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 52
  },
  "hsl": {
    "h": 51.845,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6385,
    "c": 0.10974,
    "h": 100.3
  },
  "luminance": 0.26266
}

Semantic roles & 50–950 ramp

primary
#9B8D34
secondary
#717BBA
accent
#61D94F
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9B8D34

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

Preview Lab → · Contrast checker → · Palette generator →

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