#9AAB16#9AAB16

#9AAB16 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.4% C 0.157 H 116.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#9AAB16
RGBrgb(154, 171, 22)
HSLhsl(67, 77%, 38%)
HSVhsv(67, 87%, 67%)
CMYKcmyk(9.9%, 0%, 87.1%, 32.9%)
CIE-LABlab(66.56, -23.04, 65.23)
CIE-LCHlch(66.56, 69.18, 109.45°)
OKLaboklab(70.39% -0.0707 0.1401)
OKLCHoklch(70.39% 0.157 116.8)
XYZxyz(28.0350, 36.0542, 6.2412)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAB16 #2716AB
analogous
#AB7216 #9AAB16 #4FAB16
triadic
#9AAB16 #169AAB #AB169A
tetradic
#9AAB16 #16AB72 #2716AB #AB164F
square
#9AAB16 #16AB72 #2716AB #AB164F
split-complementary
#9AAB16 #164FAB #7216AB
monochromatic
#383F08 #69750F #9AAB16 #CBE11D #D8E953

Accessibility & contrast

On white

2.56
#9AAB16 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#9AAB16 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAB16
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAB16#FFFFFF#000000##000000
##9AAB161.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B6A328
Tritanopia (blue-blind)
#A4A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9aab16;
/* rgb */ color: rgb(154, 171, 22);
/* oklch */ color: oklch(70.4% 0.157 116.8);
Tailwind
colors: {
  custom: {
    50: '#bcc366',
    500: '#9aab16',
    950: '#000000',
  },
}
SCSS
$custom: #9aab16;
$custom-light: #bcc366;
$custom-dark: #000000;
JSON
{
  "hex": "#9aab16",
  "rgb": {
    "r": 154,
    "g": 171,
    "b": 22
  },
  "hsl": {
    "h": 66.846,
    "s": 77.202,
    "l": 37.843
  },
  "oklch": {
    "l": 0.70388,
    "c": 0.15688,
    "h": 116.8
  },
  "luminance": 0.36054
}

Semantic roles & 50–950 ramp

primary
#9AAB16
secondary
#5F52CB
accent
#34F44A
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9AAB16

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

Preview Lab → · Contrast checker → · Palette generator →

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