#9AA428#9AA428

#9AA428 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.9% C 0.141 H 114.2°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9AA428
RGBrgb(154, 164, 40)
HSLhsl(65, 61%, 40%)
HSVhsv(65, 76%, 64%)
CMYKcmyk(6.1%, 0%, 75.6%, 35.7%)
CIE-LABlab(64.62, -18.89, 58.63)
CIE-LCHlch(64.62, 61.60, 107.86°)
OKLaboklab(68.86% -0.058 0.129)
OKLCHoklch(68.86% 0.141 114.2)
XYZxyz(26.9857, 33.5747, 7.0661)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA428 #3228A4
analogous
#A47028 #9AA428 #5CA428
triadic
#9AA428 #289AA4 #A4289A
tetradic
#9AA428 #28A470 #3228A4 #A4285C
square
#9AA428 #28A470 #3228A4 #A4285C
split-complementary
#9AA428 #285CA4 #7028A4
monochromatic
#3E4210 #6C731C #9AA428 #C3CF3A #D2DB6B

Accessibility & contrast

On white

2.72
#9AA428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9AA428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA428
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA428#FFFFFF#000000##000000
##9AA4281.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C0B
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#A49A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa428;
/* rgb */ color: rgb(154, 164, 40);
/* oklch */ color: oklch(68.9% 0.141 114.2);
Tailwind
colors: {
  custom: {
    50: '#bbbe6c',
    500: '#9aa428',
    950: '#000000',
  },
}
SCSS
$custom: #9aa428;
$custom-light: #bbbe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa428",
  "rgb": {
    "r": 154,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 64.839,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.68856,
    "c": 0.14144,
    "h": 114.2
  },
  "luminance": 0.33574
}

Semantic roles & 50–950 ramp

primary
#9AA428
secondary
#6E66C1
accent
#44E451
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA428

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

Preview Lab → · Contrast checker → · Palette generator →

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