#9CAA2B#9CAA2B

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

Color values

HEX#9CAA2B
RGBrgb(156, 170, 43)
HSLhsl(67, 60%, 42%)
HSVhsv(67, 75%, 67%)
CMYKcmyk(8.2%, 0%, 74.7%, 33.3%)
CIE-LABlab(66.51, -20.92, 59.45)
CIE-LCHlch(66.51, 63.02, 109.38°)
OKLaboklab(70.42% -0.0635 0.1312)
OKLCHoklch(70.42% 0.146 115.8)
XYZxyz(28.5218, 35.9922, 7.7297)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA2B #392BAA
analogous
#AA792B #9CAA2B #5DAA2B
triadic
#9CAA2B #2B9CAA #AA2B9C
tetradic
#9CAA2B #2BAA79 #392BAA #AA2B5D
square
#9CAA2B #2BAA79 #392BAA #AA2B5D
split-complementary
#9CAA2B #2B5DAA #792BAA
monochromatic
#424812 #6F791F #9CAA2B #C0CF43 #D0DC74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CAA2B#FFFFFF#000000##000000
##9CAA2B1.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)
#B6A10F
Deuteranopia (green-blind)
#B5A336
Tritanopia (blue-blind)
#A6A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9caa2b;
/* rgb */ color: rgb(156, 170, 43);
/* oklch */ color: oklch(70.4% 0.146 115.8);
Tailwind
colors: {
  custom: {
    50: '#bdc36e',
    500: '#9caa2b',
    950: '#000000',
  },
}
SCSS
$custom: #9caa2b;
$custom-light: #bdc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa2b",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 66.614,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70416,
    "c": 0.14574,
    "h": 115.8
  },
  "luminance": 0.35992
}

Semantic roles & 50–950 ramp

primary
#9CAA2B
secondary
#776EC3
accent
#45E356
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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