#9C8A2B#9C8A2B

#9C8A2B is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.114 H 98.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9C8A2B
RGBrgb(156, 138, 43)
HSLhsl(50, 57%, 39%)
HSVhsv(50, 72%, 61%)
CMYKcmyk(0%, 11.5%, 72.4%, 38.8%)
CIE-LABlab(57.48, -4.10, 50.72)
CIE-LCHlch(57.48, 50.89, 94.62°)
OKLaboklab(63.21% -0.0163 0.1128)
OKLCHoklch(63.21% 0.114 98.2)
XYZxyz(23.2359, 25.4204, 5.9678)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A2B #2B3D9C
analogous
#9C512B #9C8A2B #769C2B
triadic
#9C8A2B #2B9C8A #8A2B9C
tetradic
#9C8A2B #2B9C51 #2B3D9C #9C2B76
square
#9C8A2B #2B9C51 #2B3D9C #9C2B76
split-complementary
#9C8A2B #2B769C #512B9C
monochromatic
#3C3511 #6C601E #9C8A2B #C9B23B #D6C56B

Accessibility & contrast

On white

3.45
#9C8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9C8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A2B
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A2B#FFFFFF#000000##000000
##9C8A2B1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861C
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#A88077
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a2b;
/* rgb */ color: rgb(156, 138, 43);
/* oklch */ color: oklch(63.2% 0.114 98.2);
Tailwind
colors: {
  custom: {
    50: '#bdab6b',
    500: '#9c8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a2b;
$custom-light: #bdab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a2b",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 50.442,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6321,
    "c": 0.11392,
    "h": 98.2
  },
  "luminance": 0.25419
}

Semantic roles & 50–950 ramp

primary
#9C8A2B
secondary
#6674BD
accent
#60E048
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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