#9CAA2C#9CAA2C

#9CAA2C is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.4% C 0.145 H 115.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#9CAA2C
RGBrgb(156, 170, 44)
HSLhsl(67, 59%, 42%)
HSVhsv(67, 74%, 67%)
CMYKcmyk(8.2%, 0%, 74.1%, 33.3%)
CIE-LABlab(66.52, -20.87, 59.11)
CIE-LCHlch(66.52, 62.69, 109.44°)
OKLaboklab(70.42% -0.0632 0.1307)
OKLCHoklch(70.42% 0.145 115.8)
XYZxyz(28.5404, 35.9997, 7.8275)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA2C #3A2CAA
analogous
#AA792C #9CAA2C #5DAA2C
triadic
#9CAA2C #2C9CAA #AA2C9C
tetradic
#9CAA2C #2CAA79 #3A2CAA #AA2C5D
square
#9CAA2C #2CAA79 #3A2CAA #AA2C5D
split-complementary
#9CAA2C #2C5DAA #792CAA
monochromatic
#434913 #6F791F #9CAA2C #BFCF44 #D0DB75

Accessibility & contrast

On white

2.56
#9CAA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#9CAA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAA2C
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAA2C#FFFFFF#000000##000000
##9CAA2C1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A112
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#A6A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9caa2c;
/* rgb */ color: rgb(156, 170, 44);
/* oklch */ color: oklch(70.4% 0.145 115.8);
Tailwind
colors: {
  custom: {
    50: '#bdc36f',
    500: '#9caa2c',
    950: '#000000',
  },
}
SCSS
$custom: #9caa2c;
$custom-light: #bdc36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa2c",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 66.667,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70423,
    "c": 0.14516,
    "h": 115.8
  },
  "luminance": 0.35999
}

Semantic roles & 50–950 ramp

primary
#9CAA2C
secondary
#786FC3
accent
#46E257
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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