#9C8F3D#9C8F3D

#9C8F3D is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.104 H 100.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9C8F3D
RGBrgb(156, 143, 61)
HSLhsl(52, 44%, 43%)
HSVhsv(52, 61%, 61%)
CMYKcmyk(0%, 8.3%, 60.9%, 38.8%)
CIE-LABlab(59.02, -5.70, 44.37)
CIE-LCHlch(59.02, 44.74, 97.32°)
OKLaboklab(64.48% -0.0187 0.1022)
OKLCHoklch(64.48% 0.104 100.4)
XYZxyz(24.3760, 27.0508, 8.3513)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F3D #3D4A9C
analogous
#9C5F3D #9C8F3D #7A9C3D
triadic
#9C8F3D #3D9C8F #8F3D9C
tetradic
#9C8F3D #3D9C5F #3D4A9C #9C3D7A
square
#9C8F3D #3D9C5F #3D4A9C #9C3D7A
split-complementary
#9C8F3D #3D7A9C #5F3D9C
monochromatic
#443E1B #70672C #9C8F3D #BEB058 #CFC584

Accessibility & contrast

On white

3.28
#9C8F3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#9C8F3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F3D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F3D#FFFFFF#000000##000000
##9C8F3D1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B34
Deuteranopia (green-blind)
#9F9041
Tritanopia (blue-blind)
#A7867D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f3d;
/* rgb */ color: rgb(156, 143, 61);
/* oklch */ color: oklch(64.5% 0.104 100.4);
Tailwind
colors: {
  custom: {
    50: '#bcaf76',
    500: '#9c8f3d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f3d;
$custom-light: #bcaf76;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f3d",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 61
  },
  "hsl": {
    "h": 51.789,
    "s": 43.779,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64479,
    "c": 0.10393,
    "h": 100.4
  },
  "luminance": 0.2705
}

Semantic roles & 50–950 ramp

primary
#9C8F3D
secondary
#7C84B9
accent
#66D454
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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