#9AA42D#9AA42D

#9AA42D is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.9% C 0.138 H 114.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9AA42D
RGBrgb(154, 164, 45)
HSLhsl(65, 57%, 41%)
HSVhsv(65, 73%, 64%)
CMYKcmyk(6.1%, 0%, 72.6%, 35.7%)
CIE-LABlab(64.65, -18.65, 56.91)
CIE-LCHlch(64.65, 59.89, 108.14°)
OKLaboklab(68.89% -0.0569 0.1263)
OKLCHoklch(68.89% 0.138 114.2)
XYZxyz(27.0763, 33.6109, 7.5433)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA42D #372DA4
analogous
#A4722D #9AA42D #5EA42D
triadic
#9AA42D #2D9AA4 #A42D9A
tetradic
#9AA42D #2DA472 #372DA4 #A42D5E
square
#9AA42D #2DA472 #372DA4 #A42D5E
split-complementary
#9AA42D #2D5EA4 #722DA4
monochromatic
#404413 #6D7420 #9AA42D #C0CB43 #D0D973

Accessibility & contrast

On white

2.72
#9AA42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#9AA42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA42D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA42D#FFFFFF#000000##000000
##9AA42D1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C17
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#A49A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa42d;
/* rgb */ color: rgb(154, 164, 45);
/* oklch */ color: oklch(68.9% 0.138 114.2);
Tailwind
colors: {
  custom: {
    50: '#bbbe6e',
    500: '#9aa42d',
    950: '#000000',
  },
}
SCSS
$custom: #9aa42d;
$custom-light: #bbbe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa42d",
  "rgb": {
    "r": 154,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 65.042,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68888,
    "c": 0.13847,
    "h": 114.2
  },
  "luminance": 0.3361
}

Semantic roles & 50–950 ramp

primary
#9AA42D
secondary
#746DC0
accent
#48E054
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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