#9AA62F#9AA62F

#9AA62F is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.4% C 0.139 H 115.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9AA62F
RGBrgb(154, 166, 47)
HSLhsl(66, 56%, 42%)
HSVhsv(66, 72%, 65%)
CMYKcmyk(7.2%, 0%, 71.7%, 34.9%)
CIE-LABlab(65.24, -19.56, 56.75)
CIE-LCHlch(65.24, 60.03, 109.02°)
OKLaboklab(69.36% -0.0592 0.1263)
OKLCHoklch(69.36% 0.139 115.1)
XYZxyz(27.4765, 34.3482, 7.8712)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA62F #3B2FA6
analogous
#A6772F #9AA62F #5FA62F
triadic
#9AA62F #2F9AA6 #A62F9A
tetradic
#9AA62F #2FA677 #3B2FA6 #A62F5F
square
#9AA62F #2FA677 #3B2FA6 #A62F5F
split-complementary
#9AA62F #2F5FA6 #772FA6
monochromatic
#424714 #6E7621 #9AA62F #BECB47 #CFD877

Accessibility & contrast

On white

2.67
#9AA62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#9AA62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA62F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA62F#FFFFFF#000000##000000
##9AA62F1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1A
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#A49C8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa62f;
/* rgb */ color: rgb(154, 166, 47);
/* oklch */ color: oklch(69.4% 0.139 115.1);
Tailwind
colors: {
  custom: {
    50: '#bbc070',
    500: '#9aa62f',
    950: '#000000',
  },
}
SCSS
$custom: #9aa62f;
$custom-light: #bbc070;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa62f",
  "rgb": {
    "r": 154,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 66.05,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69362,
    "c": 0.13945,
    "h": 115.1
  },
  "luminance": 0.34348
}

Semantic roles & 50–950 ramp

primary
#9AA62F
secondary
#7870C1
accent
#49DF58
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA62F

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

Preview Lab → · Contrast checker → · Palette generator →

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