#9B8F2B#9B8F2B

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

Color values

HEX#9B8F2B
RGBrgb(155, 143, 43)
HSLhsl(54, 57%, 39%)
HSVhsv(54, 72%, 61%)
CMYKcmyk(0%, 7.7%, 72.3%, 39.2%)
CIE-LABlab(58.78, -7.27, 51.97)
CIE-LCHlch(58.78, 52.48, 97.97°)
OKLaboklab(64.22% -0.0252 0.1154)
OKLCHoklch(64.22% 0.118 102.3)
XYZxyz(23.7771, 26.7889, 6.2034)
Luminance0.2679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8F2B #2B379B
analogous
#9B572B #9B8F2B #6F9B2B
triadic
#9B8F2B #2B9B8F #8F2B9B
tetradic
#9B8F2B #2B9B57 #2B379B #9B2B6F
square
#9B8F2B #2B9B57 #2B379B #9B2B6F
split-complementary
#9B8F2B #2B6F9B #572B9B
monochromatic
#3B3710 #6B631E #9B8F2B #C9B93B #D6CA6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B8F2B#FFFFFF#000000##000000
##9B8F2B1.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)
#9C8A1B
Deuteranopia (green-blind)
#A09032
Tritanopia (blue-blind)
#A7857B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8f2b;
/* rgb */ color: rgb(155, 143, 43);
/* oklch */ color: oklch(64.2% 0.118 102.3);
Tailwind
colors: {
  custom: {
    50: '#bcaf6b',
    500: '#9b8f2b',
    950: '#000000',
  },
}
SCSS
$custom: #9b8f2b;
$custom-light: #bcaf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8f2b",
  "rgb": {
    "r": 155,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 53.571,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64216,
    "c": 0.11815,
    "h": 102.3
  },
  "luminance": 0.26788
}

Semantic roles & 50–950 ramp

primary
#9B8F2B
secondary
#656FBC
accent
#58E048
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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