#9CAA42#9CAA42

#9CAA42 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.6% C 0.129 H 116.3°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#9CAA42
RGBrgb(156, 170, 66)
HSLhsl(68, 44%, 46%)
HSVhsv(68, 61%, 67%)
CMYKcmyk(8.2%, 0%, 61.2%, 33.3%)
CIE-LABlab(66.68, -19.51, 50.52)
CIE-LCHlch(66.68, 54.15, 111.12°)
OKLaboklab(70.6% -0.0573 0.116)
OKLCHoklch(70.6% 0.129 116.3)
XYZxyz(29.0690, 36.2111, 10.6113)
Luminance0.3621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA42 #5042AA
analogous
#AA8442 #9CAA42 #68AA42
triadic
#9CAA42 #429CAA #AA429C
tetradic
#9CAA42 #42AA84 #5042AA #AA4268
square
#9CAA42 #42AA84 #5042AA #AA4268
split-complementary
#9CAA42 #4268AA #8442AA
monochromatic
#4B5220 #747E31 #9CAA42 #B7C366 #CCD592

Accessibility & contrast

On white

2.55
#9CAA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#9CAA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAA42
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAA42#FFFFFF#000000##000000
##9CAA421.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A236
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#A5A194
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9caa42;
/* rgb */ color: rgb(156, 170, 66);
/* oklch */ color: oklch(70.6% 0.129 116.3);
Tailwind
colors: {
  custom: {
    50: '#bcc37b',
    500: '#9caa42',
    950: '#000000',
  },
}
SCSS
$custom: #9caa42;
$custom-light: #bcc37b;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa42",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 68.077,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70604,
    "c": 0.12934,
    "h": 116.3
  },
  "luminance": 0.36211
}

Semantic roles & 50–950 ramp

primary
#9CAA42
secondary
#8F88C0
accent
#54D465
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9CAA42

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

Preview Lab → · Contrast checker → · Palette generator →

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