#9CAB1C#9CAB1C

#9CAB1C is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.6% C 0.154 H 116.0°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#9CAB1C
RGBrgb(156, 171, 28)
HSLhsl(66, 72%, 39%)
HSVhsv(66, 84%, 67%)
CMYKcmyk(8.8%, 0%, 83.6%, 32.9%)
CIE-LABlab(66.73, -22.01, 64.08)
CIE-LCHlch(66.73, 67.75, 108.95°)
OKLaboklab(70.57% -0.0676 0.1384)
OKLCHoklch(70.57% 0.154 116)
XYZxyz(28.4836, 36.2780, 6.6003)
Luminance0.3628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB1C #2B1CAB
analogous
#AB731C #9CAB1C #55AB1C
triadic
#9CAB1C #1C9CAB #AB1C9C
tetradic
#9CAB1C #1CAB73 #2B1CAB #AB1C55
square
#9CAB1C #1CAB73 #2B1CAB #AB1C55
split-complementary
#9CAB1C #1C55AB #731CAB
monochromatic
#3C420B #6C7613 #9CAB1C #C9DC28 #D6E45D

Accessibility & contrast

On white

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

On black

8.26
#9CAB1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAB1C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAB1C#FFFFFF#000000##000000
##9CAB1C1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B6A32C
Tritanopia (blue-blind)
#A7A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9cab1c;
/* rgb */ color: rgb(156, 171, 28);
/* oklch */ color: oklch(70.6% 0.154 116.0);
Tailwind
colors: {
  custom: {
    50: '#bdc368',
    500: '#9cab1c',
    950: '#000000',
  },
}
SCSS
$custom: #9cab1c;
$custom-light: #bdc368;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab1c",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 28
  },
  "hsl": {
    "h": 66.294,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.7057,
    "c": 0.15405,
    "h": 116
  },
  "luminance": 0.36278
}

Semantic roles & 50–950 ramp

primary
#9CAB1C
secondary
#665AC9
accent
#39EF4C
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CAB1C

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

Preview Lab → · Contrast checker → · Palette generator →

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