#9AAA40#9AAA40

#9AAA40 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 70.4% C 0.132 H 117.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#9AAA40
RGBrgb(154, 170, 64)
HSLhsl(69, 45%, 46%)
HSVhsv(69, 62%, 67%)
CMYKcmyk(9.4%, 0%, 62.4%, 33.3%)
CIE-LABlab(66.51, -20.50, 51.17)
CIE-LCHlch(66.51, 55.12, 111.83°)
OKLaboklab(70.43% -0.0601 0.1171)
OKLCHoklch(70.43% 0.132 117.2)
XYZxyz(28.6271, 35.9899, 10.2882)
Luminance0.3599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAA40 #5040AA
analogous
#AA8540 #9AAA40 #65AA40
triadic
#9AAA40 #409AAA #AA409A
tetradic
#9AAA40 #40AA85 #5040AA #AA4065
square
#9AAA40 #40AA85 #5040AA #AA4065
split-complementary
#9AAA40 #4065AA #8540AA
monochromatic
#49511F #727E2F #9AAA40 #B6C463 #CAD58F

Accessibility & contrast

On white

2.56
#9AAA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#9AAA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAA40
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAA40#FFFFFF#000000##000000
##9AAA401.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A133
Deuteranopia (green-blind)
#B3A247
Tritanopia (blue-blind)
#A3A194
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9aaa40;
/* rgb */ color: rgb(154, 170, 64);
/* oklch */ color: oklch(70.4% 0.132 117.2);
Tailwind
colors: {
  custom: {
    50: '#bac37a',
    500: '#9aaa40',
    950: '#000000',
  },
}
SCSS
$custom: #9aaa40;
$custom-light: #bac37a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaa40",
  "rgb": {
    "r": 154,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 69.057,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70425,
    "c": 0.13167,
    "h": 117.2
  },
  "luminance": 0.3599
}

Semantic roles & 50–950 ramp

primary
#9AAA40
secondary
#8F86C0
accent
#53D566
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9AAA40

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

Preview Lab → · Contrast checker → · Palette generator →

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