#9C8E4B#9C8E4B

#9C8E4B is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.4% C 0.089 H 97.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9C8E4B
RGBrgb(156, 142, 75)
HSLhsl(50, 35%, 45%)
HSVhsv(50, 52%, 61%)
CMYKcmyk(0%, 9%, 51.9%, 38.8%)
CIE-LABlab(58.90, -3.98, 37.27)
CIE-LCHlch(58.90, 37.49, 96.10°)
OKLaboklab(64.44% -0.0121 0.0885)
OKLCHoklch(64.44% 0.089 97.8)
XYZxyz(24.6541, 26.9229, 10.5532)
Luminance0.2692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E4B #4B599C
analogous
#9C664B #9C8E4B #819C4B
triadic
#9C8E4B #4B9C8E #8E4B9C
tetradic
#9C8E4B #4B9C66 #4B599C #9C4B81
square
#9C8E4B #4B9C66 #4B599C #9C4B81
split-complementary
#9C8E4B #4B819C #664B9C
monochromatic
#494323 #736837 #9C8E4B #B8AB6C #CCC395

Accessibility & contrast

On white

3.29
#9C8E4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#9C8E4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E4B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E4B#FFFFFF#000000##000000
##9C8E4B1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B45
Deuteranopia (green-blind)
#9D904E
Tritanopia (blue-blind)
#A7857E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8e4b;
/* rgb */ color: rgb(156, 142, 75);
/* oklch */ color: oklch(64.4% 0.089 97.8);
Tailwind
colors: {
  custom: {
    50: '#bbae7f',
    500: '#9c8e4b',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e4b;
$custom-light: #bbae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e4b",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 75
  },
  "hsl": {
    "h": 49.63,
    "s": 35.065,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64436,
    "c": 0.08929,
    "h": 97.8
  },
  "luminance": 0.26922
}

Semantic roles & 50–950 ramp

primary
#9C8E4B
secondary
#8A92B8
accent
#70CB5D
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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