#9AA331#9AA331

#9AA331 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.135 H 113.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9AA331
RGBrgb(154, 163, 49)
HSLhsl(65, 54%, 42%)
HSVhsv(65, 70%, 64%)
CMYKcmyk(5.5%, 0%, 69.9%, 36.1%)
CIE-LABlab(64.39, -17.92, 55.16)
CIE-LCHlch(64.39, 58.00, 108.00°)
OKLaboklab(68.69% -0.0545 0.1233)
OKLCHoklch(68.69% 0.135 113.8)
XYZxyz(26.9788, 33.2867, 7.9089)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA331 #3A31A3
analogous
#A37331 #9AA331 #61A331
triadic
#9AA331 #319AA3 #A3319A
tetradic
#9AA331 #31A373 #3A31A3 #A33161
square
#9AA331 #31A373 #3A31A3 #A33161
split-complementary
#9AA331 #3161A3 #7331A3
monochromatic
#414515 #6E7423 #9AA331 #BEC849 #CFD678

Accessibility & contrast

On white

2.74
#9AA331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#9AA331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA331
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA331#FFFFFF#000000##000000
##9AA3311.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#AF9D3A
Tritanopia (blue-blind)
#A4998C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9aa331;
/* rgb */ color: rgb(154, 163, 49);
/* oklch */ color: oklch(68.7% 0.135 113.8);
Tailwind
colors: {
  custom: {
    50: '#bbbe70',
    500: '#9aa331',
    950: '#000000',
  },
}
SCSS
$custom: #9aa331;
$custom-light: #bbbe70;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa331",
  "rgb": {
    "r": 154,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 64.737,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68688,
    "c": 0.13475,
    "h": 113.8
  },
  "luminance": 0.33286
}

Semantic roles & 50–950 ramp

primary
#9AA331
secondary
#7771BF
accent
#4BDD56
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA331

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

Preview Lab → · Contrast checker → · Palette generator →

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