#9AA72F#9AA72F

#9AA72F is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.6% C 0.141 H 115.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9AA72F
RGBrgb(154, 167, 47)
HSLhsl(67, 56%, 42%)
HSVhsv(67, 72%, 65%)
CMYKcmyk(7.8%, 0%, 71.9%, 34.5%)
CIE-LABlab(65.52, -20.06, 57.03)
CIE-LCHlch(65.52, 60.46, 109.38°)
OKLaboklab(69.59% -0.0606 0.1269)
OKLCHoklch(69.59% 0.141 115.5)
XYZxyz(27.6590, 34.7131, 7.9320)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA72F #3C2FA7
analogous
#A7782F #9AA72F #5EA72F
triadic
#9AA72F #2F9AA7 #A72F9A
tetradic
#9AA72F #2FA778 #3C2FA7 #A72F5E
square
#9AA72F #2FA778 #3C2FA7 #A72F5E
split-complementary
#9AA72F #2F5EA7 #782FA7
monochromatic
#424714 #6E7722 #9AA72F #BDCB48 #CED978

Accessibility & contrast

On white

2.64
#9AA72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#9AA72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA72F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA72F#FFFFFF#000000##000000
##9AA72F1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1A
Deuteranopia (green-blind)
#B2A039
Tritanopia (blue-blind)
#A49D90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9aa72f;
/* rgb */ color: rgb(154, 167, 47);
/* oklch */ color: oklch(69.6% 0.141 115.5);
Tailwind
colors: {
  custom: {
    50: '#bbc170',
    500: '#9aa72f',
    950: '#000000',
  },
}
SCSS
$custom: #9aa72f;
$custom-light: #bbc170;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa72f",
  "rgb": {
    "r": 154,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 66.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69592,
    "c": 0.14059,
    "h": 115.5
  },
  "luminance": 0.34713
}

Semantic roles & 50–950 ramp

primary
#9AA72F
secondary
#7A71C1
accent
#48DF59
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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