#9AAF2C#9AAF2C

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

Color values

HEX#9AAF2C
RGBrgb(154, 175, 44)
HSLhsl(70, 60%, 43%)
HSVhsv(70, 75%, 69%)
CMYKcmyk(12%, 0%, 74.9%, 31.4%)
CIE-LABlab(67.81, -24.20, 60.29)
CIE-LCHlch(67.81, 64.96, 111.87°)
OKLaboklab(71.42% -0.0723 0.1332)
OKLCHoklch(71.42% 0.152 118.5)
XYZxyz(29.1117, 37.7121, 8.1279)
Luminance0.3771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAF2C #412CAF
analogous
#AF822C #9AAF2C #59AF2C
triadic
#9AAF2C #2C9AAF #AF2C9A
tetradic
#9AAF2C #2CAF82 #412CAF #AF2C59
square
#9AAF2C #2CAF82 #412CAF #AF2C59
split-complementary
#9AAF2C #2C59AF #822CAF
monochromatic
#444D13 #6F7E20 #9AAF2C #BBD147 #CDDD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AAF2C#FFFFFF#000000##000000
##9AAF2C1.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)
#BBA50F
Deuteranopia (green-blind)
#B8A638
Tritanopia (blue-blind)
#A3A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9aaf2c;
/* rgb */ color: rgb(154, 175, 44);
/* oklch */ color: oklch(71.4% 0.152 118.5);
Tailwind
colors: {
  custom: {
    50: '#bbc66f',
    500: '#9aaf2c',
    950: '#000000',
  },
}
SCSS
$custom: #9aaf2c;
$custom-light: #bbc66f;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaf2c",
  "rgb": {
    "r": 154,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 69.618,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71421,
    "c": 0.15157,
    "h": 118.5
  },
  "luminance": 0.37712
}

Semantic roles & 50–950 ramp

primary
#9AAF2C
secondary
#7F72C5
accent
#45E35E
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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