#9DAC28#9DAC28

#9DAC28 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 70.9% C 0.149 H 116.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#9DAC28
RGBrgb(157, 172, 40)
HSLhsl(67, 62%, 42%)
HSVhsv(67, 77%, 67%)
CMYKcmyk(8.7%, 0%, 76.7%, 32.5%)
CIE-LABlab(67.15, -21.63, 61.06)
CIE-LCHlch(67.15, 64.78, 109.50°)
OKLaboklab(70.94% -0.0657 0.134)
OKLCHoklch(70.94% 0.149 116.1)
XYZxyz(29.0409, 36.8268, 7.5855)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAC28 #3728AC
analogous
#AC7928 #9DAC28 #5BAC28
triadic
#9DAC28 #289DAC #AC289D
tetradic
#9DAC28 #28AC79 #3728AC #AC285B
square
#9DAC28 #28AC79 #3728AC #AC285B
split-complementary
#9DAC28 #285BAC #7928AC
monochromatic
#424911 #707A1C #9DAC28 #C2D23F #D1DE71

Accessibility & contrast

On white

2.51
#9DAC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#9DAC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAC28
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAC28#FFFFFF#000000##000000
##9DAC281.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A304
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#A7A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dac28;
/* rgb */ color: rgb(157, 172, 40);
/* oklch */ color: oklch(70.9% 0.149 116.1);
Tailwind
colors: {
  custom: {
    50: '#bdc46d',
    500: '#9dac28',
    950: '#000000',
  },
}
SCSS
$custom: #9dac28;
$custom-light: #bdc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9dac28",
  "rgb": {
    "r": 157,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 66.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.70939,
    "c": 0.14929,
    "h": 116.1
  },
  "luminance": 0.36826
}

Semantic roles & 50–950 ramp

primary
#9DAC28
secondary
#756BC5
accent
#42E555
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9DAC28

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

Preview Lab → · Contrast checker → · Palette generator →

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