#9AAF2D#9AAF2D

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

Color values

HEX#9AAF2D
RGBrgb(154, 175, 45)
HSLhsl(70, 59%, 43%)
HSVhsv(70, 74%, 69%)
CMYKcmyk(12%, 0%, 74.3%, 31.4%)
CIE-LABlab(67.81, -24.15, 59.95)
CIE-LCHlch(67.81, 64.63, 111.94°)
OKLaboklab(71.43% -0.0721 0.1327)
OKLCHoklch(71.43% 0.151 118.5)
XYZxyz(29.1307, 37.7197, 8.2281)
Luminance0.3772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAF2D #422DAF
analogous
#AF832D #9AAF2D #59AF2D
triadic
#9AAF2D #2D9AAF #AF2D9A
tetradic
#9AAF2D #2DAF83 #422DAF #AF2D59
square
#9AAF2D #2DAF83 #422DAF #AF2D59
split-complementary
#9AAF2D #2D59AF #832DAF
monochromatic
#444E14 #6F7E20 #9AAF2D #BAD049 #CDDD7A

Accessibility & contrast

On white

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

On black

8.54
#9AAF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAF2D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAF2D#FFFFFF#000000##000000
##9AAF2D1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9aaf2d;
/* rgb */ color: rgb(154, 175, 45);
/* oklch */ color: oklch(71.4% 0.151 118.5);
Tailwind
colors: {
  custom: {
    50: '#bbc670',
    500: '#9aaf2d',
    950: '#000000',
  },
}
SCSS
$custom: #9aaf2d;
$custom-light: #bbc670;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaf2d",
  "rgb": {
    "r": 154,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 69.692,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71427,
    "c": 0.151,
    "h": 118.5
  },
  "luminance": 0.37719
}

Semantic roles & 50–950 ramp

primary
#9AAF2D
secondary
#8073C5
accent
#46E25F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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