#9B8F2D#9B8F2D

#9B8F2D is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.2% C 0.117 H 102.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9B8F2D
RGBrgb(155, 143, 45)
HSLhsl(53, 55%, 39%)
HSVhsv(53, 71%, 61%)
CMYKcmyk(0%, 7.7%, 71%, 39.2%)
CIE-LABlab(58.79, -7.17, 51.18)
CIE-LCHlch(58.79, 51.68, 97.97°)
OKLaboklab(64.23% -0.0247 0.1141)
OKLCHoklch(64.23% 0.117 102.2)
XYZxyz(23.8147, 26.8040, 6.4014)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8F2D #2D399B
analogous
#9B582D #9B8F2D #709B2D
triadic
#9B8F2D #2D9B8F #8F2D9B
tetradic
#9B8F2D #2D9B58 #2D399B #9B2D70
square
#9B8F2D #2D9B58 #2D399B #9B2D70
split-complementary
#9B8F2D #2D709B #582D9B
monochromatic
#3C3711 #6C631F #9B8F2D #C7B83E #D5CA6E

Accessibility & contrast

On white

3.30
#9B8F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#9B8F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8F2D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8F2D#FFFFFF#000000##000000
##9B8F2D1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1E
Deuteranopia (green-blind)
#A09033
Tritanopia (blue-blind)
#A7857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8f2d;
/* rgb */ color: rgb(155, 143, 45);
/* oklch */ color: oklch(64.2% 0.117 102.2);
Tailwind
colors: {
  custom: {
    50: '#bcaf6c',
    500: '#9b8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #9b8f2d;
$custom-light: #bcaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8f2d",
  "rgb": {
    "r": 155,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 53.455,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64231,
    "c": 0.11677,
    "h": 102.2
  },
  "luminance": 0.26803
}

Semantic roles & 50–950 ramp

primary
#9B8F2D
secondary
#6871BC
accent
#5ADE49
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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