#9B8D2D#9B8D2D

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

Color values

HEX#9B8D2D
RGBrgb(155, 141, 45)
HSLhsl(52, 55%, 39%)
HSVhsv(52, 71%, 61%)
CMYKcmyk(0%, 9%, 71%, 39.2%)
CIE-LABlab(58.23, -6.08, 50.63)
CIE-LCHlch(58.23, 50.99, 96.85°)
OKLaboklab(63.79% -0.0216 0.113)
OKLCHoklch(63.79% 0.115 100.8)
XYZxyz(23.5171, 26.2088, 6.3022)
Luminance0.2621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D2D #2D3B9B
analogous
#9B562D #9B8D2D #729B2D
triadic
#9B8D2D #2D9B8D #8D2D9B
tetradic
#9B8D2D #2D9B56 #2D3B9B #9B2D72
square
#9B8D2D #2D9B56 #2D3B9B #9B2D72
split-complementary
#9B8D2D #2D729B #562D9B
monochromatic
#3C3711 #6C621F #9B8D2D #C7B63E #D5C86E

Accessibility & contrast

On white

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

On black

6.24
#9B8D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D2D
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D2D#FFFFFF#000000##000000
##9B8D2D1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b8d2d;
/* rgb */ color: rgb(155, 141, 45);
/* oklch */ color: oklch(63.8% 0.115 100.8);
Tailwind
colors: {
  custom: {
    50: '#bcae6c',
    500: '#9b8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d2d;
$custom-light: #bcae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d2d",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 52.364,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63788,
    "c": 0.115,
    "h": 100.8
  },
  "luminance": 0.26208
}

Semantic roles & 50–950 ramp

primary
#9B8D2D
secondary
#6873BC
accent
#5CDE49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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