#9AAF2F#9AAF2F

#9AAF2F is a light, vivid yellow. Relative luminance 0.377; OKLCH L 71.4% C 0.150 H 118.6°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#9AAF2F
RGBrgb(154, 175, 47)
HSLhsl(70, 58%, 44%)
HSVhsv(70, 73%, 69%)
CMYKcmyk(12%, 0%, 73.1%, 31.4%)
CIE-LABlab(67.83, -24.05, 59.27)
CIE-LCHlch(67.83, 63.96, 112.09°)
OKLaboklab(71.44% -0.0717 0.1316)
OKLCHoklch(71.44% 0.15 118.6)
XYZxyz(29.1701, 37.7354, 8.4357)
Luminance0.3774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAF2F #442FAF
analogous
#AF842F #9AAF2F #5AAF2F
triadic
#9AAF2F #2F9AAF #AF2F9A
tetradic
#9AAF2F #2FAF84 #442FAF #AF2F5A
square
#9AAF2F #2FAF84 #442FAF #AF2F5A
split-complementary
#9AAF2F #2F5AAF #842FAF
monochromatic
#454F15 #707F22 #9AAF2F #BACF4C #CCDC7C

Accessibility & contrast

On white

2.46
#9AAF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#9AAF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAF2F
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAF2F#FFFFFF#000000##000000
##9AAF2F1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA516
Deuteranopia (green-blind)
#B8A63A
Tritanopia (blue-blind)
#A3A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9aaf2f;
/* rgb */ color: rgb(154, 175, 47);
/* oklch */ color: oklch(71.4% 0.150 118.6);
Tailwind
colors: {
  custom: {
    50: '#bbc671',
    500: '#9aaf2f',
    950: '#000000',
  },
}
SCSS
$custom: #9aaf2f;
$custom-light: #bbc671;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaf2f",
  "rgb": {
    "r": 154,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 69.844,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.7144,
    "c": 0.14981,
    "h": 118.6
  },
  "luminance": 0.37735
}

Semantic roles & 50–950 ramp

primary
#9AAF2F
secondary
#8275C4
accent
#47E160
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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