#9AA342#9AA342

#9AA342 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.8% C 0.121 H 114.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9AA342
RGBrgb(154, 163, 66)
HSLhsl(66, 42%, 45%)
HSVhsv(66, 60%, 64%)
CMYKcmyk(5.5%, 0%, 59.5%, 36.1%)
CIE-LABlab(64.53, -16.78, 48.11)
CIE-LCHlch(64.53, 50.95, 109.23°)
OKLaboklab(68.84% -0.0495 0.1109)
OKLCHoklch(68.84% 0.121 114.1)
XYZxyz(27.4076, 33.4582, 10.1675)
Luminance0.3346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA342 #4B42A3
analogous
#A37C42 #9AA342 #6AA342
triadic
#9AA342 #429AA3 #A3429A
tetradic
#9AA342 #42A37C #4B42A3 #A3426A
square
#9AA342 #42A37C #4B42A3 #A3426A
split-complementary
#9AA342 #426AA3 #7C42A3
monochromatic
#484C1F #717730 #9AA342 #B7C063 #CBD18E

Accessibility & contrast

On white

2.73
#9AA342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#9AA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA342
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA342#FFFFFF#000000##000000
##9AA3421.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C37
Deuteranopia (green-blind)
#AE9D48
Tritanopia (blue-blind)
#A39A8E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9aa342;
/* rgb */ color: rgb(154, 163, 66);
/* oklch */ color: oklch(68.8% 0.121 114.1);
Tailwind
colors: {
  custom: {
    50: '#babe7a',
    500: '#9aa342',
    950: '#000000',
  },
}
SCSS
$custom: #9aa342;
$custom-light: #babe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa342",
  "rgb": {
    "r": 154,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 65.567,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68843,
    "c": 0.12145,
    "h": 114.1
  },
  "luminance": 0.33458
}

Semantic roles & 50–950 ramp

primary
#9AA342
secondary
#8A84BC
accent
#56D261
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9AA342

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

Preview Lab → · Contrast checker → · Palette generator →

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