#9CAC3B#9CAC3B

#9CAC3B is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.137 H 116.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#9CAC3B
RGBrgb(156, 172, 59)
HSLhsl(68, 49%, 45%)
HSVhsv(68, 66%, 67%)
CMYKcmyk(9.3%, 0%, 65.7%, 32.5%)
CIE-LABlab(67.19, -21.01, 54.06)
CIE-LCHlch(67.19, 58.00, 111.24°)
OKLaboklab(71% -0.0622 0.1225)
OKLCHoklch(71% 0.137 116.9)
XYZxyz(29.2529, 36.8891, 9.7161)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAC3B #4B3BAC
analogous
#AC843B #9CAC3B #63AC3B
triadic
#9CAC3B #3B9CAC #AC3B9C
tetradic
#9CAC3B #3BAC84 #4B3BAC #AC3B63
square
#9CAC3B #3BAC84 #4B3BAC #AC3B63
split-complementary
#9CAC3B #3B63AC #843BAC
monochromatic
#49511C #737E2B #9CAC3B #B8C75D #CCD78A

Accessibility & contrast

On white

2.51
#9CAC3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#9CAC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAC3B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAC3B#FFFFFF#000000##000000
##9CAC3B1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32C
Deuteranopia (green-blind)
#B6A443
Tritanopia (blue-blind)
#A5A395
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9cac3b;
/* rgb */ color: rgb(156, 172, 59);
/* oklch */ color: oklch(71.0% 0.137 116.9);
Tailwind
colors: {
  custom: {
    50: '#bcc477',
    500: '#9cac3b',
    950: '#000000',
  },
}
SCSS
$custom: #9cac3b;
$custom-light: #bcc477;
$custom-dark: #000000;
JSON
{
  "hex": "#9cac3b",
  "rgb": {
    "r": 156,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 68.496,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70996,
    "c": 0.13737,
    "h": 116.9
  },
  "luminance": 0.36889
}

Semantic roles & 50–950 ramp

primary
#9CAC3B
secondary
#8A81C1
accent
#4FD863
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9CAC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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