#9AA540#9AA540

#9AA540 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.3% C 0.126 H 115.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9AA540
RGBrgb(154, 165, 64)
HSLhsl(67, 44%, 45%)
HSVhsv(67, 61%, 65%)
CMYKcmyk(6.7%, 0%, 61.2%, 35.3%)
CIE-LABlab(65.08, -17.96, 49.62)
CIE-LCHlch(65.08, 52.77, 109.90°)
OKLaboklab(69.28% -0.053 0.1138)
OKLCHoklch(69.28% 0.126 115)
XYZxyz(27.7076, 34.1509, 9.9817)
Luminance0.3415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA540 #4B40A5
analogous
#A57E40 #9AA540 #67A540
triadic
#9AA540 #409AA5 #A5409A
tetradic
#9AA540 #40A57E #4B40A5 #A54067
square
#9AA540 #40A57E #4B40A5 #A54067
split-complementary
#9AA540 #4067A5 #7E40A5
monochromatic
#484D1E #71792F #9AA540 #B7C261 #CBD38D

Accessibility & contrast

On white

2.68
#9AA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#9AA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA540
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA540#FFFFFF#000000##000000
##9AA5401.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D34
Deuteranopia (green-blind)
#AF9F46
Tritanopia (blue-blind)
#A39C90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa540;
/* rgb */ color: rgb(154, 165, 64);
/* oklch */ color: oklch(69.3% 0.126 115.0);
Tailwind
colors: {
  custom: {
    50: '#babf79',
    500: '#9aa540',
    950: '#000000',
  },
}
SCSS
$custom: #9aa540;
$custom-light: #babf79;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa540",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 66.535,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69279,
    "c": 0.12558,
    "h": 115
  },
  "luminance": 0.3415
}

Semantic roles & 50–950 ramp

primary
#9AA540
secondary
#8A83BE
accent
#54D462
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9AA540

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

Preview Lab → · Contrast checker → · Palette generator →

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