#9CAA2A#9CAA2A

#9CAA2A 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#9CAA2A
RGBrgb(156, 170, 42)
HSLhsl(67, 60%, 42%)
HSVhsv(67, 75%, 67%)
CMYKcmyk(8.2%, 0%, 75.3%, 33.3%)
CIE-LABlab(66.51, -20.96, 59.79)
CIE-LCHlch(66.51, 63.35, 109.32°)
OKLaboklab(70.41% -0.0637 0.1317)
OKLCHoklch(70.41% 0.146 115.8)
XYZxyz(28.5037, 35.9850, 7.6343)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA2A #382AAA
analogous
#AA782A #9CAA2A #5CAA2A
triadic
#9CAA2A #2A9CAA #AA2A9C
tetradic
#9CAA2A #2AAA78 #382AAA #AA2A5C
square
#9CAA2A #2AAA78 #382AAA #AA2A5C
split-complementary
#9CAA2A #2A5CAA #782AAA
monochromatic
#424812 #6F791E #9CAA2A #C0D041 #D1DC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CAA2A#FFFFFF#000000##000000
##9CAA2A1.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)
#B6A10C
Deuteranopia (green-blind)
#B5A335
Tritanopia (blue-blind)
#A6A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9caa2a;
/* rgb */ color: rgb(156, 170, 42);
/* oklch */ color: oklch(70.4% 0.146 115.8);
Tailwind
colors: {
  custom: {
    50: '#bdc36e',
    500: '#9caa2a',
    950: '#000000',
  },
}
SCSS
$custom: #9caa2a;
$custom-light: #bdc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa2a",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 66.563,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.7041,
    "c": 0.14631,
    "h": 115.8
  },
  "luminance": 0.35985
}

Semantic roles & 50–950 ramp

primary
#9CAA2A
secondary
#766CC3
accent
#44E456
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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