#9AA940#9AA940

#9AA940 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.2% C 0.130 H 116.8°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#9AA940
RGBrgb(154, 169, 64)
HSLhsl(69, 45%, 46%)
HSVhsv(69, 62%, 66%)
CMYKcmyk(8.9%, 0%, 62.1%, 33.7%)
CIE-LABlab(66.23, -19.99, 50.86)
CIE-LCHlch(66.23, 54.65, 111.46°)
OKLaboklab(70.19% -0.0587 0.1165)
OKLCHoklch(70.19% 0.13 116.8)
XYZxyz(28.4404, 35.6165, 10.2259)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA940 #4F40A9
analogous
#A98340 #9AA940 #66A940
triadic
#9AA940 #409AA9 #A9409A
tetradic
#9AA940 #40A983 #4F40A9 #A94066
square
#9AA940 #40A983 #4F40A9 #A94066
split-complementary
#9AA940 #4066A9 #8340A9
monochromatic
#49501E #727D2F #9AA940 #B6C462 #CBD58F

Accessibility & contrast

On white

2.59
#9AA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#9AA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA940
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA940#FFFFFF#000000##000000
##9AA9401.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A133
Deuteranopia (green-blind)
#B3A247
Tritanopia (blue-blind)
#A3A093
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9aa940;
/* rgb */ color: rgb(154, 169, 64);
/* oklch */ color: oklch(70.2% 0.130 116.8);
Tailwind
colors: {
  custom: {
    50: '#bac27a',
    500: '#9aa940',
    950: '#000000',
  },
}
SCSS
$custom: #9aa940;
$custom-light: #bac27a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa940",
  "rgb": {
    "r": 154,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 68.571,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70195,
    "c": 0.13045,
    "h": 116.8
  },
  "luminance": 0.35616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9AA940

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

Preview Lab → · Contrast checker → · Palette generator →

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