#9CAB2F#9CAB2F

#9CAB2F is a light, vivid yellow. Relative luminance 0.364; OKLCH L 70.7% C 0.144 H 116.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#9CAB2F
RGBrgb(156, 171, 47)
HSLhsl(67, 57%, 43%)
HSVhsv(67, 73%, 67%)
CMYKcmyk(8.8%, 0%, 72.5%, 32.9%)
CIE-LABlab(66.82, -21.22, 58.35)
CIE-LCHlch(66.82, 62.09, 109.98°)
OKLaboklab(70.67% -0.0639 0.1296)
OKLCHoklch(70.67% 0.144 116.3)
XYZxyz(28.7870, 36.3994, 8.1981)
Luminance0.3640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB2F #3E2FAB
analogous
#AB7C2F #9CAB2F #5EAB2F
triadic
#9CAB2F #2F9CAB #AB2F9C
tetradic
#9CAB2F #2FAB7C #3E2FAB #AB2F5E
square
#9CAB2F #2FAB7C #3E2FAB #AB2F5E
split-complementary
#9CAB2F #2F5EAB #7C2FAB
monochromatic
#444B15 #707B22 #9CAB2F #BDCD4A #CFDA7A

Accessibility & contrast

On white

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

On black

8.28
#9CAB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAB2F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAB2F#FFFFFF#000000##000000
##9CAB2F1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A218
Deuteranopia (green-blind)
#B6A339
Tritanopia (blue-blind)
#A6A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cab2f;
/* rgb */ color: rgb(156, 171, 47);
/* oklch */ color: oklch(70.7% 0.144 116.3);
Tailwind
colors: {
  custom: {
    50: '#bcc370',
    500: '#9cab2f',
    950: '#000000',
  },
}
SCSS
$custom: #9cab2f;
$custom-light: #bcc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab2f",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 67.258,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70673,
    "c": 0.14448,
    "h": 116.3
  },
  "luminance": 0.36399
}

Semantic roles & 50–950 ramp

primary
#9CAB2F
secondary
#7D73C3
accent
#48E05A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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