#9AA52A#9AA52A

#9AA52A is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.1% C 0.141 H 114.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9AA52A
RGBrgb(154, 165, 42)
HSLhsl(65, 59%, 41%)
HSVhsv(65, 75%, 65%)
CMYKcmyk(6.7%, 0%, 74.5%, 35.3%)
CIE-LABlab(64.92, -19.30, 58.23)
CIE-LCHlch(64.92, 61.35, 108.34°)
OKLaboklab(69.1% -0.059 0.1285)
OKLCHoklch(69.1% 0.141 114.6)
XYZxyz(27.2003, 33.9480, 7.3098)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA52A #352AA5
analogous
#A5722A #9AA52A #5CA52A
triadic
#9AA52A #2A9AA5 #A52A9A
tetradic
#9AA52A #2AA572 #352AA5 #A52A5C
square
#9AA52A #2AA572 #352AA5 #A52A5C
split-complementary
#9AA52A #2A5CA5 #722AA5
monochromatic
#3F4311 #6C741E #9AA52A #C1CE3E #D1DA6F

Accessibility & contrast

On white

2.70
#9AA52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#9AA52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA52A
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA52A#FFFFFF#000000##000000
##9AA52A1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D10
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#A49B8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa52a;
/* rgb */ color: rgb(154, 165, 42);
/* oklch */ color: oklch(69.1% 0.141 114.6);
Tailwind
colors: {
  custom: {
    50: '#bbbf6d',
    500: '#9aa52a',
    950: '#000000',
  },
}
SCSS
$custom: #9aa52a;
$custom-light: #bbbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa52a",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 65.366,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69098,
    "c": 0.14139,
    "h": 114.6
  },
  "luminance": 0.33947
}

Semantic roles & 50–950 ramp

primary
#9AA52A
secondary
#7169C1
accent
#45E353
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA52A

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

Preview Lab → · Contrast checker → · Palette generator →

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