#9B8B2E#9B8B2E

#9B8B2E is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.113 H 99.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9B8B2E
RGBrgb(155, 139, 46)
HSLhsl(51, 54%, 39%)
HSVhsv(51, 70%, 61%)
CMYKcmyk(0%, 10.3%, 70.3%, 39.2%)
CIE-LABlab(57.69, -4.94, 49.66)
CIE-LCHlch(57.69, 49.90, 95.68°)
OKLaboklab(63.36% -0.0183 0.1111)
OKLCHoklch(63.36% 0.113 99.3)
XYZxyz(23.2444, 25.6321, 6.3074)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8B2E #2E3E9B
analogous
#9B552E #9B8B2E #759B2E
triadic
#9B8B2E #2E9B8B #8B2E9B
tetradic
#9B8B2E #2E9B55 #2E3E9B #9B2E75
square
#9B8B2E #2E9B55 #2E3E9B #9B2E75
split-complementary
#9B8B2E #2E759B #552E9B
monochromatic
#3D3612 #6C6120 #9B8B2E #C6B340 #D4C56F

Accessibility & contrast

On white

3.43
#9B8B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9B8B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8B2E
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8B2E#FFFFFF#000000##000000
##9B8B2E1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#A78178
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b8b2e;
/* rgb */ color: rgb(155, 139, 46);
/* oklch */ color: oklch(63.4% 0.113 99.3);
Tailwind
colors: {
  custom: {
    50: '#bcac6c',
    500: '#9b8b2e',
    950: '#000000',
  },
}
SCSS
$custom: #9b8b2e;
$custom-light: #bcac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8b2e",
  "rgb": {
    "r": 155,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 51.193,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63356,
    "c": 0.11258,
    "h": 99.3
  },
  "luminance": 0.25631
}

Semantic roles & 50–950 ramp

primary
#9B8B2E
secondary
#6975BC
accent
#60DE4A
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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