#9CAB2A#9CAB2A

#9CAB2A is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.6% C 0.147 H 116.2°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#9CAB2A
RGBrgb(156, 171, 42)
HSLhsl(67, 61%, 42%)
HSVhsv(67, 75%, 67%)
CMYKcmyk(8.8%, 0%, 75.4%, 32.9%)
CIE-LABlab(66.80, -21.46, 60.05)
CIE-LCHlch(66.80, 63.77, 109.67°)
OKLaboklab(70.64% -0.0651 0.1323)
OKLCHoklch(70.64% 0.147 116.2)
XYZxyz(28.6919, 36.3613, 7.6970)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB2A #392AAB
analogous
#AB7A2A #9CAB2A #5CAB2A
triadic
#9CAB2A #2A9CAB #AB2A9C
tetradic
#9CAB2A #2AAB7A #392AAB #AB2A5C
square
#9CAB2A #2AAB7A #392AAB #AB2A5C
split-complementary
#9CAB2A #2A5CAB #7A2AAB
monochromatic
#424912 #6F7A1E #9CAB2A #C0D142 #D0DD73

Accessibility & contrast

On white

2.54
#9CAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#9CAB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAB2A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAB2A#FFFFFF#000000##000000
##9CAB2A1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20B
Deuteranopia (green-blind)
#B6A335
Tritanopia (blue-blind)
#A6A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9cab2a;
/* rgb */ color: rgb(156, 171, 42);
/* oklch */ color: oklch(70.6% 0.147 116.2);
Tailwind
colors: {
  custom: {
    50: '#bdc36e',
    500: '#9cab2a',
    950: '#000000',
  },
}
SCSS
$custom: #9cab2a;
$custom-light: #bdc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab2a",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 66.977,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.7064,
    "c": 0.14742,
    "h": 116.2
  },
  "luminance": 0.36361
}

Semantic roles & 50–950 ramp

primary
#9CAB2A
secondary
#776DC4
accent
#44E457
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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