#9AAA2E#9AAA2E

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

Color values

HEX#9AAA2E
RGBrgb(154, 170, 46)
HSLhsl(68, 57%, 42%)
HSVhsv(68, 73%, 67%)
CMYKcmyk(9.4%, 0%, 72.9%, 33.3%)
CIE-LABlab(66.38, -21.62, 58.22)
CIE-LCHlch(66.38, 62.11, 110.37°)
OKLaboklab(70.28% -0.065 0.1292)
OKLCHoklch(70.28% 0.145 116.7)
XYZxyz(28.1950, 35.8171, 8.0123)
Luminance0.3582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAA2E #3E2EAA
analogous
#AA7C2E #9AAA2E #5CAA2E
triadic
#9AAA2E #2E9AAA #AA2E9A
tetradic
#9AAA2E #2EAA7C #3E2EAA #AA2E5C
square
#9AAA2E #2EAA7C #3E2EAA #AA2E5C
split-complementary
#9AAA2E #2E5CAA #7C2EAA
monochromatic
#434A14 #6E7A21 #9AAA2E #BCCD48 #CEDA78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AAA2E#FFFFFF#000000##000000
##9AAA2E1.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)
#B6A116
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#A4A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9aaa2e;
/* rgb */ color: rgb(154, 170, 46);
/* oklch */ color: oklch(70.3% 0.145 116.7);
Tailwind
colors: {
  custom: {
    50: '#bbc370',
    500: '#9aaa2e',
    950: '#000000',
  },
}
SCSS
$custom: #9aaa2e;
$custom-light: #bbc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaa2e",
  "rgb": {
    "r": 154,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 67.742,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70277,
    "c": 0.14464,
    "h": 116.7
  },
  "luminance": 0.35817
}

Semantic roles & 50–950 ramp

primary
#9AAA2E
secondary
#7C71C3
accent
#47E15B
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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