#9AA62B#9AA62B

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

Color values

HEX#9AA62B
RGBrgb(154, 166, 43)
HSLhsl(66, 59%, 41%)
HSVhsv(66, 74%, 65%)
CMYKcmyk(7.2%, 0%, 74.1%, 34.9%)
CIE-LABlab(65.21, -19.76, 58.16)
CIE-LCHlch(65.21, 61.43, 108.77°)
OKLaboklab(69.34% -0.0601 0.1285)
OKLCHoklch(69.34% 0.142 115.1)
XYZxyz(27.3994, 34.3174, 7.4656)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA62B #372BA6
analogous
#A6742B #9AA62B #5CA62B
triadic
#9AA62B #2B9AA6 #A62B9A
tetradic
#9AA62B #2BA674 #372BA6 #A62B5C
square
#9AA62B #2BA674 #372BA6 #A62B5C
split-complementary
#9AA62B #2B5CA6 #742BA6
monochromatic
#404512 #6D751E #9AA62B #C0CE41 #D0DA71

Accessibility & contrast

On white

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

On black

7.86
#9AA62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA62B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA62B#FFFFFF#000000##000000
##9AA62B1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D11
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#A49C8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9aa62b;
/* rgb */ color: rgb(154, 166, 43);
/* oklch */ color: oklch(69.3% 0.142 115.1);
Tailwind
colors: {
  custom: {
    50: '#bbc06e',
    500: '#9aa62b',
    950: '#000000',
  },
}
SCSS
$custom: #9aa62b;
$custom-light: #bbc06e;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa62b",
  "rgb": {
    "r": 154,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 65.854,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69335,
    "c": 0.14192,
    "h": 115.1
  },
  "luminance": 0.34317
}

Semantic roles & 50–950 ramp

primary
#9AA62B
secondary
#746BC1
accent
#46E255
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA62B

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

Preview Lab → · Contrast checker → · Palette generator →

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