#9C8A3D#9C8A3D

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

Color values

HEX#9C8A3D
RGBrgb(156, 138, 61)
HSLhsl(49, 44%, 43%)
HSVhsv(49, 61%, 61%)
CMYKcmyk(0%, 11.5%, 60.9%, 38.8%)
CIE-LABlab(57.64, -2.96, 42.83)
CIE-LCHlch(57.64, 42.93, 93.95°)
OKLaboklab(63.38% -0.0108 0.0989)
OKLCHoklch(63.38% 0.1 96.3)
XYZxyz(23.6421, 25.5829, 8.1067)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A3D #3D4F9C
analogous
#9C5B3D #9C8A3D #7E9C3D
triadic
#9C8A3D #3D9C8A #8A3D9C
tetradic
#9C8A3D #3D9C5B #3D4F9C #9C3D7E
square
#9C8A3D #3D9C5B #3D4F9C #9C3D7E
split-complementary
#9C8A3D #3D7E9C #5B3D9C
monochromatic
#443C1B #70632C #9C8A3D #BEAB58 #CFC184

Accessibility & contrast

On white

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

On black

6.12
#9C8A3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A3D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A3D#FFFFFF#000000##000000
##9C8A3D1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978735
Deuteranopia (green-blind)
#9C8D41
Tritanopia (blue-blind)
#A88079
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a3d;
/* rgb */ color: rgb(156, 138, 61);
/* oklch */ color: oklch(63.4% 0.100 96.3);
Tailwind
colors: {
  custom: {
    50: '#bcab75',
    500: '#9c8a3d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a3d;
$custom-light: #bcab75;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a3d",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 61
  },
  "hsl": {
    "h": 48.632,
    "s": 43.779,
    "l": 42.549
  },
  "oklch": {
    "l": 0.63384,
    "c": 0.09952,
    "h": 96.3
  },
  "luminance": 0.25582
}

Semantic roles & 50–950 ramp

primary
#9C8A3D
secondary
#7C87B9
accent
#6CD454
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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