#9AA71B#9AA71B

#9AA71B is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.5% C 0.151 H 115.3°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9AA71B
RGBrgb(154, 167, 27)
HSLhsl(66, 72%, 38%)
HSVhsv(66, 84%, 65%)
CMYKcmyk(7.8%, 0%, 83.8%, 34.5%)
CIE-LABlab(65.43, -20.90, 63.15)
CIE-LCHlch(65.43, 66.52, 108.31°)
OKLaboklab(69.48% -0.0645 0.1363)
OKLCHoklch(69.48% 0.151 115.3)
XYZxyz(27.3438, 34.5871, 6.2722)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA71B #281BA7
analogous
#A76E1B #9AA71B #54A71B
triadic
#9AA71B #1B9AA7 #A71B9A
tetradic
#9AA71B #1BA76E #281BA7 #A71B54
square
#9AA71B #1BA76E #281BA7 #A71B54
split-complementary
#9AA71B #1B54A7 #6E1BA7
monochromatic
#393E0A #697212 #9AA71B #CADC24 #D7E458

Accessibility & contrast

On white

2.65
#9AA71B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#9AA71B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA71B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA71B#FFFFFF#000000##000000
##9AA71B1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B3A02A
Tritanopia (blue-blind)
#A59D8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9aa71b;
/* rgb */ color: rgb(154, 167, 27);
/* oklch */ color: oklch(69.5% 0.151 115.3);
Tailwind
colors: {
  custom: {
    50: '#bcc167',
    500: '#9aa71b',
    950: '#000000',
  },
}
SCSS
$custom: #9aa71b;
$custom-light: #bcc167;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa71b",
  "rgb": {
    "r": 154,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 65.571,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.69481,
    "c": 0.15084,
    "h": 115.3
  },
  "luminance": 0.34587
}

Semantic roles & 50–950 ramp

primary
#9AA71B
secondary
#6156C8
accent
#39EF4A
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA71B

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

Preview Lab → · Contrast checker → · Palette generator →

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