#9AA42C#9AA42C

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

Color values

HEX#9AA42C
RGBrgb(154, 164, 44)
HSLhsl(65, 58%, 41%)
HSVhsv(65, 73%, 64%)
CMYKcmyk(6.1%, 0%, 73.2%, 35.7%)
CIE-LABlab(64.65, -18.70, 57.27)
CIE-LCHlch(64.65, 60.24, 108.08°)
OKLaboklab(68.88% -0.0571 0.1268)
OKLCHoklch(68.88% 0.139 114.2)
XYZxyz(27.0573, 33.6033, 7.4431)
Luminance0.3360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA42C #362CA4
analogous
#A4722C #9AA42C #5EA42C
triadic
#9AA42C #2C9AA4 #A42C9A
tetradic
#9AA42C #2CA472 #362CA4 #A42C5E
square
#9AA42C #2CA472 #362CA4 #A42C5E
split-complementary
#9AA42C #2C5EA4 #722CA4
monochromatic
#3F4312 #6D741F #9AA42C #C0CC41 #D0D971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA42C#FFFFFF#000000##000000
##9AA42C1.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)
#B09C15
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#A49A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa42c;
/* rgb */ color: rgb(154, 164, 44);
/* oklch */ color: oklch(68.9% 0.139 114.2);
Tailwind
colors: {
  custom: {
    50: '#bbbe6e',
    500: '#9aa42c',
    950: '#000000',
  },
}
SCSS
$custom: #9aa42c;
$custom-light: #bbbe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa42c",
  "rgb": {
    "r": 154,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 65,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68882,
    "c": 0.13909,
    "h": 114.2
  },
  "luminance": 0.33603
}

Semantic roles & 50–950 ramp

primary
#9AA42C
secondary
#736BC0
accent
#47E154
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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