#9C8D3E#9C8D3E

#9C8D3E is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.1% C 0.101 H 98.7°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9C8D3E
RGBrgb(156, 141, 62)
HSLhsl(50, 43%, 43%)
HSVhsv(50, 60%, 61%)
CMYKcmyk(0%, 9.6%, 60.3%, 38.8%)
CIE-LABlab(58.48, -4.53, 43.28)
CIE-LCHlch(58.48, 43.52, 95.97°)
OKLaboklab(64.05% -0.0152 0.1001)
OKLCHoklch(64.05% 0.101 98.7)
XYZxyz(24.1056, 26.4665, 8.3953)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D3E #3E4D9C
analogous
#9C5E3E #9C8D3E #7C9C3E
triadic
#9C8D3E #3E9C8D #8D3E9C
tetradic
#9C8D3E #3E9C5E #3E4D9C #9C3E7C
square
#9C8D3E #3E9C5E #3E4D9C #9C3E7C
split-complementary
#9C8D3E #3E7C9C #5E3E9C
monochromatic
#443E1B #70652D #9C8D3E #BDAD5A #CFC386

Accessibility & contrast

On white

3.34
#9C8D3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#9C8D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D3E
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D3E#FFFFFF#000000##000000
##9C8D3E1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A36
Deuteranopia (green-blind)
#9E8F42
Tritanopia (blue-blind)
#A7847C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d3e;
/* rgb */ color: rgb(156, 141, 62);
/* oklch */ color: oklch(64.1% 0.101 98.7);
Tailwind
colors: {
  custom: {
    50: '#bcae76',
    500: '#9c8d3e',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d3e;
$custom-light: #bcae76;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d3e",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 50.426,
    "s": 43.119,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64051,
    "c": 0.1012,
    "h": 98.7
  },
  "luminance": 0.26465
}

Semantic roles & 50–950 ramp

primary
#9C8D3E
secondary
#7D86B9
accent
#69D355
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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