#9CAE28#9CAE28

#9CAE28 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.3% C 0.152 H 117.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#9CAE28
RGBrgb(156, 174, 40)
HSLhsl(68, 63%, 42%)
HSVhsv(68, 77%, 68%)
CMYKcmyk(10.3%, 0%, 77%, 31.8%)
CIE-LABlab(67.65, -23.05, 61.50)
CIE-LCHlch(67.65, 65.67, 110.54°)
OKLaboklab(71.32% -0.0696 0.135)
OKLCHoklch(71.32% 0.152 117.3)
XYZxyz(29.2301, 37.4936, 7.7042)
Luminance0.3749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAE28 #3A28AE
analogous
#AE7D28 #9CAE28 #59AE28
triadic
#9CAE28 #289CAE #AE289C
tetradic
#9CAE28 #28AE7D #3A28AE #AE2859
square
#9CAE28 #28AE7D #3A28AE #AE2859
split-complementary
#9CAE28 #2859AE #7D28AE
monochromatic
#434A11 #6F7C1D #9CAE28 #BFD340 #D0DF72

Accessibility & contrast

On white

2.47
#9CAE28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#9CAE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAE28
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAE28#FFFFFF#000000##000000
##9CAE281.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA402
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#A6A495
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9cae28;
/* rgb */ color: rgb(156, 174, 40);
/* oklch */ color: oklch(71.3% 0.152 117.3);
Tailwind
colors: {
  custom: {
    50: '#bdc66d',
    500: '#9cae28',
    950: '#000000',
  },
}
SCSS
$custom: #9cae28;
$custom-light: #bdc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cae28",
  "rgb": {
    "r": 156,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 68.06,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71321,
    "c": 0.15188,
    "h": 117.3
  },
  "luminance": 0.37493
}

Semantic roles & 50–950 ramp

primary
#9CAE28
secondary
#786CC6
accent
#42E658
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9CAE28

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

Preview Lab → · Contrast checker → · Palette generator →

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