#9AAA2C#9AAA2C

#9AAA2C is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.3% C 0.146 H 116.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#9AAA2C
RGBrgb(154, 170, 44)
HSLhsl(68, 59%, 42%)
HSVhsv(68, 74%, 67%)
CMYKcmyk(9.4%, 0%, 74.1%, 33.3%)
CIE-LABlab(66.37, -21.72, 58.92)
CIE-LCHlch(66.37, 62.79, 110.24°)
OKLaboklab(70.26% -0.0655 0.1303)
OKLCHoklch(70.26% 0.146 116.7)
XYZxyz(28.1565, 35.8017, 7.8095)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAA2C #3C2CAA
analogous
#AA7B2C #9AAA2C #5BAA2C
triadic
#9AAA2C #2C9AAA #AA2C9A
tetradic
#9AAA2C #2CAA7B #3C2CAA #AA2C5B
square
#9AAA2C #2CAA7B #3C2CAA #AA2C5B
split-complementary
#9AAA2C #2C5BAA #7B2CAA
monochromatic
#424913 #6E791F #9AAA2C #BDCF44 #CEDB75

Accessibility & contrast

On white

2.57
#9AAA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#9AAA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAA2C
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAA2C#FFFFFF#000000##000000
##9AAA2C1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A112
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#A4A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9aaa2c;
/* rgb */ color: rgb(154, 170, 44);
/* oklch */ color: oklch(70.3% 0.146 116.7);
Tailwind
colors: {
  custom: {
    50: '#bbc36f',
    500: '#9aaa2c',
    950: '#000000',
  },
}
SCSS
$custom: #9aaa2c;
$custom-light: #bbc36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaa2c",
  "rgb": {
    "r": 154,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 67.619,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70263,
    "c": 0.14584,
    "h": 116.7
  },
  "luminance": 0.35801
}

Semantic roles & 50–950 ramp

primary
#9AAA2C
secondary
#7A6FC3
accent
#46E25A
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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