#9AA52E#9AA52E

#9AA52E is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.1% C 0.139 H 114.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9AA52E
RGBrgb(154, 165, 46)
HSLhsl(66, 56%, 41%)
HSVhsv(66, 72%, 65%)
CMYKcmyk(6.7%, 0%, 72.1%, 35.3%)
CIE-LABlab(64.95, -19.10, 56.83)
CIE-LCHlch(64.95, 59.96, 108.58°)
OKLaboklab(69.13% -0.058 0.1263)
OKLCHoklch(69.13% 0.139 114.7)
XYZxyz(27.2755, 33.9780, 7.7058)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA52E #392EA5
analogous
#A5752E #9AA52E #5FA52E
triadic
#9AA52E #2E9AA5 #A52E9A
tetradic
#9AA52E #2EA575 #392EA5 #A52E5F
square
#9AA52E #2EA575 #392EA5 #A52E5F
split-complementary
#9AA52E #2E5FA5 #752EA5
monochromatic
#414513 #6D7521 #9AA52E #BFCB45 #CFD875

Accessibility & contrast

On white

2.69
#9AA52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#9AA52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA52E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA52E#FFFFFF#000000##000000
##9AA52E1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D18
Deuteranopia (green-blind)
#B09F37
Tritanopia (blue-blind)
#A49B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa52e;
/* rgb */ color: rgb(154, 165, 46);
/* oklch */ color: oklch(69.1% 0.139 114.7);
Tailwind
colors: {
  custom: {
    50: '#bbbf6f',
    500: '#9aa52e',
    950: '#000000',
  },
}
SCSS
$custom: #9aa52e;
$custom-light: #bbbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa52e",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 65.546,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69125,
    "c": 0.13897,
    "h": 114.7
  },
  "luminance": 0.33978
}

Semantic roles & 50–950 ramp

primary
#9AA52E
secondary
#766FC0
accent
#48E056
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA52E

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

Preview Lab → · Contrast checker → · Palette generator →

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