#9B8E2B#9B8E2B

#9B8E2B is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.117 H 101.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9B8E2B
RGBrgb(155, 142, 43)
HSLhsl(53, 57%, 39%)
HSVhsv(53, 72%, 61%)
CMYKcmyk(0%, 8.4%, 72.3%, 39.2%)
CIE-LABlab(58.50, -6.73, 51.70)
CIE-LCHlch(58.50, 52.13, 97.42°)
OKLaboklab(63.99% -0.0237 0.1148)
OKLCHoklch(63.99% 0.117 101.7)
XYZxyz(23.6277, 26.4900, 6.1535)
Luminance0.2649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8E2B #2B389B
analogous
#9B562B #9B8E2B #709B2B
triadic
#9B8E2B #2B9B8E #8E2B9B
tetradic
#9B8E2B #2B9B56 #2B389B #9B2B70
square
#9B8E2B #2B9B56 #2B389B #9B2B70
split-complementary
#9B8E2B #2B709B #562B9B
monochromatic
#3B3610 #6B621E #9B8E2B #C9B83B #D6C96B

Accessibility & contrast

On white

3.33
#9B8E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#9B8E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8E2B
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8E2B#FFFFFF#000000##000000
##9B8E2B1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A1B
Deuteranopia (green-blind)
#9F8F31
Tritanopia (blue-blind)
#A7847A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8e2b;
/* rgb */ color: rgb(155, 142, 43);
/* oklch */ color: oklch(64.0% 0.117 101.7);
Tailwind
colors: {
  custom: {
    50: '#bcae6b',
    500: '#9b8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #9b8e2b;
$custom-light: #bcae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8e2b",
  "rgb": {
    "r": 155,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 53.036,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63994,
    "c": 0.11726,
    "h": 101.7
  },
  "luminance": 0.26489
}

Semantic roles & 50–950 ramp

primary
#9B8E2B
secondary
#656FBC
accent
#5AE048
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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