#9C8A2D#9C8A2D

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

Color values

HEX#9C8A2D
RGBrgb(156, 138, 45)
HSLhsl(50, 55%, 39%)
HSVhsv(50, 71%, 61%)
CMYKcmyk(0%, 11.5%, 71.2%, 38.8%)
CIE-LABlab(57.50, -3.99, 49.92)
CIE-LCHlch(57.50, 50.08, 94.57°)
OKLaboklab(63.23% -0.0157 0.1114)
OKLCHoklch(63.23% 0.113 98)
XYZxyz(23.2735, 25.4355, 6.1658)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A2D #2D3F9C
analogous
#9C522D #9C8A2D #779C2D
triadic
#9C8A2D #2D9C8A #8A2D9C
tetradic
#9C8A2D #2D9C52 #2D3F9C #9C2D77
square
#9C8A2D #2D9C52 #2D3F9C #9C2D77
split-complementary
#9C8A2D #2D779C #522D9C
monochromatic
#3D3612 #6D601F #9C8A2D #C8B13F #D5C56E

Accessibility & contrast

On white

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

On black

6.09
#9C8A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A2D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A2D#FFFFFF#000000##000000
##9C8A2D1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988720
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#A88077
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a2d;
/* rgb */ color: rgb(156, 138, 45);
/* oklch */ color: oklch(63.2% 0.113 98.0);
Tailwind
colors: {
  custom: {
    50: '#bdab6c',
    500: '#9c8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a2d;
$custom-light: #bdab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a2d",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 50.27,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63226,
    "c": 0.11253,
    "h": 98
  },
  "luminance": 0.25434
}

Semantic roles & 50–950 ramp

primary
#9C8A2D
secondary
#6876BC
accent
#61DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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