#9AA71C#9AA71C

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

Color values

HEX#9AA71C
RGBrgb(154, 167, 28)
HSLhsl(66, 71%, 38%)
HSVhsv(66, 83%, 65%)
CMYKcmyk(7.8%, 0%, 83.2%, 34.5%)
CIE-LABlab(65.43, -20.87, 62.90)
CIE-LCHlch(65.43, 66.27, 108.35°)
OKLaboklab(69.49% -0.0644 0.136)
OKLCHoklch(69.49% 0.15 115.3)
XYZxyz(27.3556, 34.5918, 6.3342)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA71C #291CA7
analogous
#A76F1C #9AA71C #54A71C
triadic
#9AA71C #1C9AA7 #A71C9A
tetradic
#9AA71C #1CA76F #291CA7 #A71C54
square
#9AA71C #1CA76F #291CA7 #A71C54
split-complementary
#9AA71C #1C54A7 #6F1CA7
monochromatic
#393E0A #6A7313 #9AA71C #CADB26 #D7E35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA71C#FFFFFF#000000##000000
##9AA71C1.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)
#B39E00
Deuteranopia (green-blind)
#B3A02B
Tritanopia (blue-blind)
#A59D8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9aa71c;
/* rgb */ color: rgb(154, 167, 28);
/* oklch */ color: oklch(69.5% 0.150 115.3);
Tailwind
colors: {
  custom: {
    50: '#bcc167',
    500: '#9aa71c',
    950: '#000000',
  },
}
SCSS
$custom: #9aa71c;
$custom-light: #bcc167;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa71c",
  "rgb": {
    "r": 154,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 65.612,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.69485,
    "c": 0.15044,
    "h": 115.3
  },
  "luminance": 0.34591
}

Semantic roles & 50–950 ramp

primary
#9AA71C
secondary
#6258C7
accent
#3AEE4B
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA71C

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

Preview Lab → · Contrast checker → · Palette generator →

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