#9AAA28#9AAA28

#9AAA28 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.2% C 0.148 H 116.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#9AAA28
RGBrgb(154, 170, 40)
HSLhsl(67, 62%, 41%)
HSVhsv(67, 76%, 67%)
CMYKcmyk(9.4%, 0%, 76.5%, 33.3%)
CIE-LABlab(66.35, -21.91, 60.24)
CIE-LCHlch(66.35, 64.10, 109.99°)
OKLaboklab(70.24% -0.0664 0.1324)
OKLCHoklch(70.24% 0.148 116.6)
XYZxyz(28.0849, 35.7731, 7.4325)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAA28 #3828AA
analogous
#AA7928 #9AAA28 #59AA28
triadic
#9AAA28 #289AAA #AA289A
tetradic
#9AAA28 #28AA79 #3828AA #AA2859
square
#9AAA28 #28AA79 #3828AA #AA2859
split-complementary
#9AAA28 #2859AA #7928AA
monochromatic
#404711 #6D781C #9AAA28 #BFD23E #D0DD6F

Accessibility & contrast

On white

2.58
#9AAA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#9AAA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAA28
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAA28#FFFFFF#000000##000000
##9AAA281.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A106
Deuteranopia (green-blind)
#B5A234
Tritanopia (blue-blind)
#A4A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9aaa28;
/* rgb */ color: rgb(154, 170, 40);
/* oklch */ color: oklch(70.2% 0.148 116.6);
Tailwind
colors: {
  custom: {
    50: '#bbc36d',
    500: '#9aaa28',
    950: '#000000',
  },
}
SCSS
$custom: #9aaa28;
$custom-light: #bbc36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaa28",
  "rgb": {
    "r": 154,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 67.385,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70239,
    "c": 0.1481,
    "h": 116.6
  },
  "luminance": 0.35773
}

Semantic roles & 50–950 ramp

primary
#9AAA28
secondary
#756AC4
accent
#43E557
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAA28

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

Preview Lab → · Contrast checker → · Palette generator →

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