#9AA71F#9AA71F

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

Color values

HEX#9AA71F
RGBrgb(154, 167, 31)
HSLhsl(66, 69%, 39%)
HSVhsv(66, 81%, 65%)
CMYKcmyk(7.8%, 0%, 81.4%, 34.5%)
CIE-LABlab(65.44, -20.77, 62.12)
CIE-LCHlch(65.44, 65.50, 108.49°)
OKLaboklab(69.5% -0.0639 0.1348)
OKLCHoklch(69.5% 0.149 115.4)
XYZxyz(27.3933, 34.6069, 6.5328)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA71F #2C1FA7
analogous
#A7701F #9AA71F #56A71F
triadic
#9AA71F #1F9AA7 #A71F9A
tetradic
#9AA71F #1FA770 #2C1FA7 #A71F56
square
#9AA71F #1FA770 #2C1FA7 #A71F56
split-complementary
#9AA71F #1F56A7 #701FA7
monochromatic
#3B400C #6A7315 #9AA71F #C7D82B #D5E15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA71F#FFFFFF#000000##000000
##9AA71F1.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)
#B3A02D
Tritanopia (blue-blind)
#A49D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9aa71f;
/* rgb */ color: rgb(154, 167, 31);
/* oklch */ color: oklch(69.5% 0.149 115.4);
Tailwind
colors: {
  custom: {
    50: '#bcc169',
    500: '#9aa71f',
    950: '#000000',
  },
}
SCSS
$custom: #9aa71f;
$custom-light: #bcc169;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa71f",
  "rgb": {
    "r": 154,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 65.735,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.69498,
    "c": 0.14919,
    "h": 115.4
  },
  "luminance": 0.34606
}

Semantic roles & 50–950 ramp

primary
#9AA71F
secondary
#665CC6
accent
#3CEC4D
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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