#9CAF28#9CAF28

#9CAF28 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 71.6% C 0.153 H 117.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#9CAF28
RGBrgb(156, 175, 40)
HSLhsl(68, 63%, 42%)
HSVhsv(68, 77%, 69%)
CMYKcmyk(10.9%, 0%, 77.1%, 31.4%)
CIE-LABlab(67.93, -23.54, 61.76)
CIE-LCHlch(67.93, 66.09, 110.87°)
OKLaboklab(71.55% -0.071 0.1356)
OKLCHoklch(71.55% 0.153 117.6)
XYZxyz(29.4240, 37.8814, 7.7689)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAF28 #3B28AF
analogous
#AF7E28 #9CAF28 #59AF28
triadic
#9CAF28 #289CAF #AF289C
tetradic
#9CAF28 #28AF7E #3B28AF #AF2859
square
#9CAF28 #28AF7E #3B28AF #AF2859
split-complementary
#9CAF28 #2859AF #7E28AF
monochromatic
#434B11 #707D1D #9CAF28 #BFD441 #D0DF73

Accessibility & contrast

On white

2.45
#9CAF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#9CAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAF28
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAF28#FFFFFF#000000##000000
##9CAF281.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA501
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#A6A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9caf28;
/* rgb */ color: rgb(156, 175, 40);
/* oklch */ color: oklch(71.6% 0.153 117.6);
Tailwind
colors: {
  custom: {
    50: '#bdc66d',
    500: '#9caf28',
    950: '#000000',
  },
}
SCSS
$custom: #9caf28;
$custom-light: #bdc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9caf28",
  "rgb": {
    "r": 156,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 68.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71552,
    "c": 0.153,
    "h": 117.6
  },
  "luminance": 0.37881
}

Semantic roles & 50–950 ramp

primary
#9CAF28
secondary
#796DC6
accent
#42E659
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9CAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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