#9AA015#9AA015

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

Color values

HEX#9AA015
RGBrgb(154, 160, 21)
HSLhsl(63, 77%, 35%)
HSVhsv(63, 87%, 63%)
CMYKcmyk(3.8%, 0%, 86.9%, 37.3%)
CIE-LABlab(63.40, -17.52, 62.84)
CIE-LCHlch(63.40, 65.23, 105.58°)
OKLaboklab(67.85% -0.0556 0.1347)
OKLCHoklch(67.85% 0.146 112.4)
XYZxyz(26.0335, 32.0664, 5.5274)
Luminance0.3207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA015 #1B15A0
analogous
#A06015 #9AA015 #54A015
triadic
#9AA015 #159AA0 #A0159A
tetradic
#9AA015 #15A060 #1B15A0 #A01554
square
#9AA015 #15A060 #1B15A0 #A01554
split-complementary
#9AA015 #1554A0 #6015A0
monochromatic
#323407 #666A0E #9AA015 #CED61C #E0E748

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA015#FFFFFF#000000##000000
##9AA0151.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)
#AD9B25
Tritanopia (blue-blind)
#A59688
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9aa015;
/* rgb */ color: rgb(154, 160, 21);
/* oklch */ color: oklch(67.8% 0.146 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbb64',
    500: '#9aa015',
    950: '#000000',
  },
}
SCSS
$custom: #9aa015;
$custom-light: #bcbb64;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa015",
  "rgb": {
    "r": 154,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 62.59,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67848,
    "c": 0.14568,
    "h": 112.4
  },
  "luminance": 0.32066
}

Semantic roles & 50–950 ramp

primary
#9AA015
secondary
#4E49C8
accent
#34F33D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #9AA015

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

Preview Lab → · Contrast checker → · Palette generator →

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