#9AAB2F#9AAB2F

#9AAB2F is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.5% C 0.145 H 117.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#9AAB2F
RGBrgb(154, 171, 47)
HSLhsl(68, 57%, 43%)
HSVhsv(68, 73%, 67%)
CMYKcmyk(9.9%, 0%, 72.5%, 32.9%)
CIE-LABlab(66.67, -22.07, 58.15)
CIE-LCHlch(66.67, 62.20, 110.78°)
OKLaboklab(70.51% -0.0662 0.1292)
OKLCHoklch(70.51% 0.145 117.1)
XYZxyz(28.4031, 36.2014, 8.1801)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAB2F #402FAB
analogous
#AB7E2F #9AAB2F #5CAB2F
triadic
#9AAB2F #2F9AAB #AB2F9A
tetradic
#9AAB2F #2FAB7E #402FAB #AB2F5C
square
#9AAB2F #2FAB7E #402FAB #AB2F5C
split-complementary
#9AAB2F #2F5CAB #7E2FAB
monochromatic
#444B15 #6F7B22 #9AAB2F #BBCD4A #CDDA7A

Accessibility & contrast

On white

2.55
#9AAB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#9AAB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAB2F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAB2F#FFFFFF#000000##000000
##9AAB2F1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A218
Deuteranopia (green-blind)
#B5A339
Tritanopia (blue-blind)
#A4A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9aab2f;
/* rgb */ color: rgb(154, 171, 47);
/* oklch */ color: oklch(70.5% 0.145 117.1);
Tailwind
colors: {
  custom: {
    50: '#bbc370',
    500: '#9aab2f',
    950: '#000000',
  },
}
SCSS
$custom: #9aab2f;
$custom-light: #bbc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9aab2f",
  "rgb": {
    "r": 154,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 68.226,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.70514,
    "c": 0.14517,
    "h": 117.1
  },
  "luminance": 0.36201
}

Semantic roles & 50–950 ramp

primary
#9AAB2F
secondary
#7E73C3
accent
#48E05D
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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