#9CAB2D#9CAB2D

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

Color values

HEX#9CAB2D
RGBrgb(156, 171, 45)
HSLhsl(67, 58%, 42%)
HSVhsv(67, 74%, 67%)
CMYKcmyk(8.8%, 0%, 73.7%, 32.9%)
CIE-LABlab(66.81, -21.32, 59.05)
CIE-LCHlch(66.81, 62.78, 109.85°)
OKLaboklab(70.66% -0.0644 0.1307)
OKLCHoklch(70.66% 0.146 116.2)
XYZxyz(28.7476, 36.3836, 7.9905)
Luminance0.3638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB2D #3C2DAB
analogous
#AB7B2D #9CAB2D #5DAB2D
triadic
#9CAB2D #2D9CAB #AB2D9C
tetradic
#9CAB2D #2DAB7B #3C2DAB #AB2D5D
square
#9CAB2D #2DAB7B #3C2DAB #AB2D5D
split-complementary
#9CAB2D #2D5DAB #7B2DAB
monochromatic
#444A14 #707B20 #9CAB2D #BECE47 #CFDB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CAB2D#FFFFFF#000000##000000
##9CAB2D1.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)
#B7A213
Deuteranopia (green-blind)
#B6A338
Tritanopia (blue-blind)
#A6A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9cab2d;
/* rgb */ color: rgb(156, 171, 45);
/* oklch */ color: oklch(70.7% 0.146 116.2);
Tailwind
colors: {
  custom: {
    50: '#bdc36f',
    500: '#9cab2d',
    950: '#000000',
  },
}
SCSS
$custom: #9cab2d;
$custom-light: #bdc36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab2d",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 67.143,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70659,
    "c": 0.1457,
    "h": 116.2
  },
  "luminance": 0.36383
}

Semantic roles & 50–950 ramp

primary
#9CAB2D
secondary
#7A71C3
accent
#46E259
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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