#9AAB2D#9AAB2D

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

Color values

HEX#9AAB2D
RGBrgb(154, 171, 45)
HSLhsl(68, 58%, 42%)
HSVhsv(68, 74%, 67%)
CMYKcmyk(9.9%, 0%, 73.7%, 32.9%)
CIE-LABlab(66.66, -22.17, 58.85)
CIE-LCHlch(66.66, 62.89, 110.64°)
OKLaboklab(70.5% -0.0666 0.1303)
OKLCHoklch(70.5% 0.146 117.1)
XYZxyz(28.3637, 36.1856, 7.9725)
Luminance0.3619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAB2D #3E2DAB
analogous
#AB7D2D #9AAB2D #5BAB2D
triadic
#9AAB2D #2D9AAB #AB2D9A
tetradic
#9AAB2D #2DAB7D #3E2DAB #AB2D5B
square
#9AAB2D #2DAB7D #3E2DAB #AB2D5B
split-complementary
#9AAB2D #2D5BAB #7D2DAB
monochromatic
#434A14 #6E7B20 #9AAB2D #BCCE47 #CEDB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AAB2D#FFFFFF#000000##000000
##9AAB2D1.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)
#B7A214
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#A4A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9aab2d;
/* rgb */ color: rgb(154, 171, 45);
/* oklch */ color: oklch(70.5% 0.146 117.1);
Tailwind
colors: {
  custom: {
    50: '#bbc36f',
    500: '#9aab2d',
    950: '#000000',
  },
}
SCSS
$custom: #9aab2d;
$custom-light: #bbc36f;
$custom-dark: #000000;
JSON
{
  "hex": "#9aab2d",
  "rgb": {
    "r": 154,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 68.095,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70501,
    "c": 0.14638,
    "h": 117.1
  },
  "luminance": 0.36185
}

Semantic roles & 50–950 ramp

primary
#9AAB2D
secondary
#7C71C3
accent
#46E25B
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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