#9AAC1F#9AAC1F

#9AAC1F is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.7% C 0.155 H 117.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#9AAC1F
RGBrgb(154, 172, 31)
HSLhsl(68, 69%, 40%)
HSVhsv(68, 82%, 67%)
CMYKcmyk(10.5%, 0%, 82%, 32.5%)
CIE-LABlab(66.88, -23.26, 63.38)
CIE-LCHlch(66.88, 67.51, 110.16°)
OKLaboklab(70.66% -0.0708 0.1375)
OKLCHoklch(70.66% 0.155 117.2)
XYZxyz(28.3270, 36.4744, 6.8441)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAC1F #311FAC
analogous
#AC781F #9AAC1F #53AC1F
triadic
#9AAC1F #1F9AAC #AC1F9A
tetradic
#9AAC1F #1FAC78 #311FAC #AC1F53
square
#9AAC1F #1FAC78 #311FAC #AC1F53
split-complementary
#9AAC1F #1F53AC #781FAC
monochromatic
#3D440C #6C7816 #9AAC1F #C4D92F #D2E363

Accessibility & contrast

On white

2.53
#9AAC1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#9AAC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAC1F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAC1F#FFFFFF#000000##000000
##9AAC1F1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B6A32E
Tritanopia (blue-blind)
#A4A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9aac1f;
/* rgb */ color: rgb(154, 172, 31);
/* oklch */ color: oklch(70.7% 0.155 117.2);
Tailwind
colors: {
  custom: {
    50: '#bcc469',
    500: '#9aac1f',
    950: '#000000',
  },
}
SCSS
$custom: #9aac1f;
$custom-light: #bcc469;
$custom-dark: #000000;
JSON
{
  "hex": "#9aac1f",
  "rgb": {
    "r": 154,
    "g": 172,
    "b": 31
  },
  "hsl": {
    "h": 67.66,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70655,
    "c": 0.15465,
    "h": 117.2
  },
  "luminance": 0.36474
}

Semantic roles & 50–950 ramp

primary
#9AAC1F
secondary
#6C5FC8
accent
#3CEC52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AAC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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