#9CAC2A#9CAC2A

#9CAC2A is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.9% C 0.149 H 116.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#9CAC2A
RGBrgb(156, 172, 42)
HSLhsl(67, 61%, 42%)
HSVhsv(67, 76%, 67%)
CMYKcmyk(9.3%, 0%, 75.6%, 32.5%)
CIE-LABlab(67.08, -21.96, 60.32)
CIE-LCHlch(67.08, 64.20, 110.01°)
OKLaboklab(70.87% -0.0664 0.1329)
OKLCHoklch(70.87% 0.149 116.6)
XYZxyz(28.8815, 36.7405, 7.7602)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAC2A #3A2AAC
analogous
#AC7B2A #9CAC2A #5BAC2A
triadic
#9CAC2A #2A9CAC #AC2A9C
tetradic
#9CAC2A #2AAC7B #3A2AAC #AC2A5B
square
#9CAC2A #2AAC7B #3A2AAC #AC2A5B
split-complementary
#9CAC2A #2A5BAC #7B2AAC
monochromatic
#434A12 #6F7B1E #9CAC2A #BFD142 #D0DD73

Accessibility & contrast

On white

2.52
#9CAC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#9CAC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAC2A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAC2A#FFFFFF#000000##000000
##9CAC2A1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30B
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#A6A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cac2a;
/* rgb */ color: rgb(156, 172, 42);
/* oklch */ color: oklch(70.9% 0.149 116.6);
Tailwind
colors: {
  custom: {
    50: '#bdc46e',
    500: '#9cac2a',
    950: '#000000',
  },
}
SCSS
$custom: #9cac2a;
$custom-light: #bdc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9cac2a",
  "rgb": {
    "r": 156,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 67.385,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70871,
    "c": 0.14855,
    "h": 116.6
  },
  "luminance": 0.3674
}

Semantic roles & 50–950 ramp

primary
#9CAC2A
secondary
#786DC4
accent
#44E458
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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