#9AA42E#9AA42E

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

Color values

HEX#9AA42E
RGBrgb(154, 164, 46)
HSLhsl(65, 56%, 41%)
HSVhsv(65, 72%, 64%)
CMYKcmyk(6.1%, 0%, 72%, 35.7%)
CIE-LABlab(64.66, -18.59, 56.55)
CIE-LCHlch(64.66, 59.53, 108.20°)
OKLaboklab(68.9% -0.0566 0.1257)
OKLCHoklch(68.9% 0.138 114.3)
XYZxyz(27.0958, 33.6187, 7.6459)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA42E #382EA4
analogous
#A4732E #9AA42E #5FA42E
triadic
#9AA42E #2E9AA4 #A42E9A
tetradic
#9AA42E #2EA473 #382EA4 #A42E5F
square
#9AA42E #2EA473 #382EA4 #A42E5F
split-complementary
#9AA42E #2E5FA4 #732EA4
monochromatic
#404413 #6D7421 #9AA42E #BFCB45 #D0D874

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA42E#FFFFFF#000000##000000
##9AA42E1.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)
#B09C19
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#A49A8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa42e;
/* rgb */ color: rgb(154, 164, 46);
/* oklch */ color: oklch(68.9% 0.138 114.3);
Tailwind
colors: {
  custom: {
    50: '#bbbe6f',
    500: '#9aa42e',
    950: '#000000',
  },
}
SCSS
$custom: #9aa42e;
$custom-light: #bbbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa42e",
  "rgb": {
    "r": 154,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 65.085,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68895,
    "c": 0.13784,
    "h": 114.3
  },
  "luminance": 0.33618
}

Semantic roles & 50–950 ramp

primary
#9AA42E
secondary
#756EC0
accent
#48DF55
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA42E

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

Preview Lab → · Contrast checker → · Palette generator →

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