#9DAA28#9DAA28

#9DAA28 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.5% C 0.147 H 115.3°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#9DAA28
RGBrgb(157, 170, 40)
HSLhsl(66, 62%, 41%)
HSVhsv(66, 76%, 67%)
CMYKcmyk(7.6%, 0%, 76.5%, 33.3%)
CIE-LABlab(66.57, -20.62, 60.53)
CIE-LCHlch(66.57, 63.95, 108.82°)
OKLaboklab(70.48% -0.063 0.1329)
OKLCHoklch(70.48% 0.147 115.3)
XYZxyz(28.6632, 36.0712, 7.4596)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAA28 #3528AA
analogous
#AA7628 #9DAA28 #5CAA28
triadic
#9DAA28 #289DAA #AA289D
tetradic
#9DAA28 #28AA76 #3528AA #AA285C
square
#9DAA28 #28AA76 #3528AA #AA285C
split-complementary
#9DAA28 #285CAA #7628AA
monochromatic
#414711 #6F781C #9DAA28 #C3D23E #D2DD6F

Accessibility & contrast

On white

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

On black

8.21
#9DAA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAA28
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAA28#FFFFFF#000000##000000
##9DAA281.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9daa28;
/* rgb */ color: rgb(157, 170, 40);
/* oklch */ color: oklch(70.5% 0.147 115.3);
Tailwind
colors: {
  custom: {
    50: '#bdc36d',
    500: '#9daa28',
    950: '#000000',
  },
}
SCSS
$custom: #9daa28;
$custom-light: #bdc36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9daa28",
  "rgb": {
    "r": 157,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 66,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70479,
    "c": 0.14708,
    "h": 115.3
  },
  "luminance": 0.36071
}

Semantic roles & 50–950 ramp

primary
#9DAA28
secondary
#736AC4
accent
#43E553
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9DAA28

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

Preview Lab → · Contrast checker → · Palette generator →

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