#9CAA28#9CAA28

#9CAA28 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.4% C 0.147 H 115.8°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#9CAA28
RGBrgb(156, 170, 40)
HSLhsl(66, 62%, 41%)
HSVhsv(66, 76%, 67%)
CMYKcmyk(8.2%, 0%, 76.5%, 33.3%)
CIE-LABlab(66.50, -21.05, 60.43)
CIE-LCHlch(66.50, 64.00, 109.21°)
OKLaboklab(70.4% -0.0641 0.1327)
OKLCHoklch(70.4% 0.147 115.8)
XYZxyz(28.4688, 35.9710, 7.4505)
Luminance0.3597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAA28 #3628AA
analogous
#AA7728 #9CAA28 #5BAA28
triadic
#9CAA28 #289CAA #AA289C
tetradic
#9CAA28 #28AA77 #3628AA #AA285B
square
#9CAA28 #28AA77 #3628AA #AA285B
split-complementary
#9CAA28 #285BAA #7728AA
monochromatic
#414711 #6F781C #9CAA28 #C2D23E #D1DD6F

Accessibility & contrast

On white

2.56
#9CAA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#9CAA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAA28
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAA28#FFFFFF#000000##000000
##9CAA281.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A106
Deuteranopia (green-blind)
#B5A334
Tritanopia (blue-blind)
#A6A092
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9caa28;
/* rgb */ color: rgb(156, 170, 40);
/* oklch */ color: oklch(70.4% 0.147 115.8);
Tailwind
colors: {
  custom: {
    50: '#bdc36d',
    500: '#9caa28',
    950: '#000000',
  },
}
SCSS
$custom: #9caa28;
$custom-light: #bdc36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9caa28",
  "rgb": {
    "r": 156,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 66.462,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70398,
    "c": 0.14741,
    "h": 115.8
  },
  "luminance": 0.35971
}

Semantic roles & 50–950 ramp

primary
#9CAA28
secondary
#746AC4
accent
#43E554
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CAA28

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

Preview Lab → · Contrast checker → · Palette generator →

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