#9AA02B#9AA02B

#9AA02B is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.0% C 0.135 H 112.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9AA02B
RGBrgb(154, 160, 43)
HSLhsl(63, 58%, 40%)
HSVhsv(63, 73%, 63%)
CMYKcmyk(3.8%, 0%, 73.1%, 37.3%)
CIE-LABlab(63.50, -16.70, 56.52)
CIE-LCHlch(63.50, 58.94, 106.46°)
OKLaboklab(67.96% -0.0516 0.1251)
OKLCHoklch(67.96% 0.135 112.4)
XYZxyz(26.3341, 32.1867, 7.1105)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA02B #312BA0
analogous
#A06C2B #9AA02B #60A02B
triadic
#9AA02B #2B9AA0 #A02B9A
tetradic
#9AA02B #2BA06C #312BA0 #A02B60
square
#9AA02B #2BA06C #312BA0 #A02B60
split-complementary
#9AA02B #2B60A0 #6C2BA0
monochromatic
#3D4011 #6C701E #9AA02B #C4CB3D #D2D86E

Accessibility & contrast

On white

2.82
#9AA02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#9AA02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA02B
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA02B#FFFFFF#000000##000000
##9AA02B1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9815
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#A59689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9aa02b;
/* rgb */ color: rgb(154, 160, 43);
/* oklch */ color: oklch(68.0% 0.135 112.4);
Tailwind
colors: {
  custom: {
    50: '#bbbb6d',
    500: '#9aa02b',
    950: '#000000',
  },
}
SCSS
$custom: #9aa02b;
$custom-light: #bbbb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa02b",
  "rgb": {
    "r": 154,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 63.077,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67959,
    "c": 0.13532,
    "h": 112.4
  },
  "luminance": 0.32186
}

Semantic roles & 50–950 ramp

primary
#9AA02B
secondary
#6C68BF
accent
#47E14F
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9AA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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