#9AA431#9AA431

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

Color values

HEX#9AA431
RGBrgb(154, 164, 49)
HSLhsl(65, 54%, 42%)
HSVhsv(65, 70%, 64%)
CMYKcmyk(6.1%, 0%, 70.1%, 35.7%)
CIE-LABlab(64.68, -18.43, 55.44)
CIE-LCHlch(64.68, 58.43, 108.39°)
OKLaboklab(68.92% -0.0559 0.1239)
OKLCHoklch(68.92% 0.136 114.3)
XYZxyz(27.1570, 33.6432, 7.9683)
Luminance0.3364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA431 #3B31A4
analogous
#A47531 #9AA431 #61A431
triadic
#9AA431 #319AA4 #A4319A
tetradic
#9AA431 #31A475 #3B31A4 #A43161
square
#9AA431 #31A475 #3B31A4 #A43161
split-complementary
#9AA431 #3161A4 #7531A4
monochromatic
#424615 #6E7523 #9AA431 #BEC949 #CFD779

Accessibility & contrast

On white

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

On black

7.73
#9AA431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA431
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA431#FFFFFF#000000##000000
##9AA4311.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9aa431;
/* rgb */ color: rgb(154, 164, 49);
/* oklch */ color: oklch(68.9% 0.136 114.3);
Tailwind
colors: {
  custom: {
    50: '#bbbe71',
    500: '#9aa431',
    950: '#000000',
  },
}
SCSS
$custom: #9aa431;
$custom-light: #bbbe71;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa431",
  "rgb": {
    "r": 154,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 65.217,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68917,
    "c": 0.13588,
    "h": 114.3
  },
  "luminance": 0.33643
}

Semantic roles & 50–950 ramp

primary
#9AA431
secondary
#7872BF
accent
#4ADD57
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA431

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

Preview Lab → · Contrast checker → · Palette generator →

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