#9AA017#9AA017

#9AA017 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.9% C 0.145 H 112.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9AA017
RGBrgb(154, 160, 23)
HSLhsl(63, 75%, 36%)
HSVhsv(63, 86%, 63%)
CMYKcmyk(3.8%, 0%, 85.6%, 37.3%)
CIE-LABlab(63.40, -17.46, 62.40)
CIE-LCHlch(63.40, 64.80, 105.64°)
OKLaboklab(67.86% -0.0553 0.134)
OKLCHoklch(67.86% 0.145 112.4)
XYZxyz(26.0528, 32.0742, 5.6290)
Luminance0.3207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA017 #1D17A0
analogous
#A06117 #9AA017 #55A017
triadic
#9AA017 #179AA0 #A0179A
tetradic
#9AA017 #17A061 #1D17A0 #A01755
square
#9AA017 #17A061 #1D17A0 #A01755
split-complementary
#9AA017 #1755A0 #6117A0
monochromatic
#333508 #666A0F #9AA017 #CDD61F #DFE54C

Accessibility & contrast

On white

2.83
#9AA017 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#9AA017 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA017
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA017#FFFFFF#000000##000000
##9AA0171.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AD9B26
Tritanopia (blue-blind)
#A59688
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9aa017;
/* rgb */ color: rgb(154, 160, 23);
/* oklch */ color: oklch(67.9% 0.145 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbb65',
    500: '#9aa017',
    950: '#000000',
  },
}
SCSS
$custom: #9aa017;
$custom-light: #bcbb65;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa017",
  "rgb": {
    "r": 154,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 62.628,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67855,
    "c": 0.145,
    "h": 112.4
  },
  "luminance": 0.32073
}

Semantic roles & 50–950 ramp

primary
#9AA017
secondary
#514CC7
accent
#36F13F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9AA017

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

Preview Lab → · Contrast checker → · Palette generator →

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