#9AA42F#9AA42F

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

Color values

HEX#9AA42F
RGBrgb(154, 164, 47)
HSLhsl(65, 55%, 41%)
HSVhsv(65, 71%, 64%)
CMYKcmyk(6.1%, 0%, 71.3%, 35.7%)
CIE-LABlab(64.67, -18.54, 56.19)
CIE-LCHlch(64.67, 59.17, 108.26°)
OKLaboklab(68.9% -0.0564 0.1251)
OKLCHoklch(68.9% 0.137 114.3)
XYZxyz(27.1157, 33.6267, 7.7510)
Luminance0.3363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA42F #392FA4
analogous
#A4742F #9AA42F #60A42F
triadic
#9AA42F #2F9AA4 #A42F9A
tetradic
#9AA42F #2FA474 #392FA4 #A42F60
square
#9AA42F #2FA474 #392FA4 #A42F60
split-complementary
#9AA42F #2F60A4 #742FA4
monochromatic
#414514 #6D7421 #9AA42F #BFCA46 #CFD876

Accessibility & contrast

On white

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

On black

7.73
#9AA42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA42F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA42F#FFFFFF#000000##000000
##9AA42F1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9aa42f;
/* rgb */ color: rgb(154, 164, 47);
/* oklch */ color: oklch(68.9% 0.137 114.3);
Tailwind
colors: {
  custom: {
    50: '#bbbe6f',
    500: '#9aa42f',
    950: '#000000',
  },
}
SCSS
$custom: #9aa42f;
$custom-light: #bbbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa42f",
  "rgb": {
    "r": 154,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 65.128,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68902,
    "c": 0.13719,
    "h": 114.3
  },
  "luminance": 0.33626
}

Semantic roles & 50–950 ramp

primary
#9AA42F
secondary
#766FC0
accent
#49DF56
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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