#9CAB28#9CAB28

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

Color values

HEX#9CAB28
RGBrgb(156, 171, 40)
HSLhsl(67, 62%, 41%)
HSVhsv(67, 77%, 67%)
CMYKcmyk(8.8%, 0%, 76.6%, 32.9%)
CIE-LABlab(66.78, -21.56, 60.70)
CIE-LCHlch(66.78, 64.41, 109.55°)
OKLaboklab(70.63% -0.0655 0.1333)
OKLCHoklch(70.63% 0.149 116.2)
XYZxyz(28.6570, 36.3474, 7.5132)
Luminance0.3635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB28 #3728AB
analogous
#AB7928 #9CAB28 #5BAB28
triadic
#9CAB28 #289CAB #AB289C
tetradic
#9CAB28 #28AB79 #3728AB #AB285B
square
#9CAB28 #28AB79 #3728AB #AB285B
split-complementary
#9CAB28 #285BAB #7928AB
monochromatic
#424811 #6F791C #9CAB28 #C1D23E #D1DE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CAB28#FFFFFF#000000##000000
##9CAB281.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)
#B7A205
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#A6A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9cab28;
/* rgb */ color: rgb(156, 171, 40);
/* oklch */ color: oklch(70.6% 0.149 116.2);
Tailwind
colors: {
  custom: {
    50: '#bdc36d',
    500: '#9cab28',
    950: '#000000',
  },
}
SCSS
$custom: #9cab28;
$custom-light: #bdc36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab28",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 66.87,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70629,
    "c": 0.14851,
    "h": 116.2
  },
  "luminance": 0.36347
}

Semantic roles & 50–950 ramp

primary
#9CAB28
secondary
#756AC4
accent
#43E555
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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