#9CAA2F#9CAA2F

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

Color values

HEX#9CAA2F
RGBrgb(156, 170, 47)
HSLhsl(67, 57%, 43%)
HSVhsv(67, 72%, 67%)
CMYKcmyk(8.2%, 0%, 72.4%, 33.3%)
CIE-LABlab(66.54, -20.72, 58.07)
CIE-LCHlch(66.54, 61.65, 109.63°)
OKLaboklab(70.44% -0.0625 0.129)
OKLCHoklch(70.44% 0.143 115.9)
XYZxyz(28.5989, 36.0230, 8.1354)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA2F #3D2FAA
analogous
#AA7A2F #9CAA2F #5FAA2F
triadic
#9CAA2F #2F9CAA #AA2F9C
tetradic
#9CAA2F #2FAA7A #3D2FAA #AA2F5F
square
#9CAA2F #2FAA7A #3D2FAA #AA2F5F
split-complementary
#9CAA2F #2F5FAA #7A2FAA
monochromatic
#444A14 #707A22 #9CAA2F #BECD49 #CFDA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CAA2F#FFFFFF#000000##000000
##9CAA2F1.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)
#B6A118
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#A6A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9caa2f;
/* rgb */ color: rgb(156, 170, 47);
/* oklch */ color: oklch(70.4% 0.143 115.9);
Tailwind
colors: {
  custom: {
    50: '#bcc370',
    500: '#9caa2f',
    950: '#000000',
  },
}
SCSS
$custom: #9caa2f;
$custom-light: #bcc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa2f",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 66.829,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70443,
    "c": 0.14334,
    "h": 115.9
  },
  "luminance": 0.36023
}

Semantic roles & 50–950 ramp

primary
#9CAA2F
secondary
#7C72C2
accent
#48E059
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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