#9AA52B#9AA52B

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

Color values

HEX#9AA52B
RGBrgb(154, 165, 43)
HSLhsl(65, 59%, 41%)
HSVhsv(65, 74%, 65%)
CMYKcmyk(6.7%, 0%, 73.9%, 35.3%)
CIE-LABlab(64.93, -19.26, 57.89)
CIE-LCHlch(64.93, 61.01, 108.40°)
OKLaboklab(69.11% -0.0587 0.128)
OKLCHoklch(69.11% 0.141 114.7)
XYZxyz(27.2184, 33.9552, 7.4052)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA52B #362BA5
analogous
#A5732B #9AA52B #5DA52B
triadic
#9AA52B #2B9AA5 #A52B9A
tetradic
#9AA52B #2BA573 #362BA5 #A52B5D
square
#9AA52B #2BA573 #362BA5 #A52B5D
split-complementary
#9AA52B #2B5DA5 #732BA5
monochromatic
#3F4412 #6D741E #9AA52B #C0CD40 #D0DA71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA52B#FFFFFF#000000##000000
##9AA52B1.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)
#B19D12
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#A49B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa52b;
/* rgb */ color: rgb(154, 165, 43);
/* oklch */ color: oklch(69.1% 0.141 114.7);
Tailwind
colors: {
  custom: {
    50: '#bbbf6e',
    500: '#9aa52b',
    950: '#000000',
  },
}
SCSS
$custom: #9aa52b;
$custom-light: #bbbf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa52b",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 65.41,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69105,
    "c": 0.1408,
    "h": 114.7
  },
  "luminance": 0.33955
}

Semantic roles & 50–950 ramp

primary
#9AA52B
secondary
#736BC1
accent
#46E254
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA52B

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

Preview Lab → · Contrast checker → · Palette generator →

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