#9AAB28#9AAB28

#9AAB28 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.5% C 0.149 H 117.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#9AAB28
RGBrgb(154, 171, 40)
HSLhsl(68, 62%, 41%)
HSVhsv(68, 77%, 67%)
CMYKcmyk(9.9%, 0%, 76.6%, 32.9%)
CIE-LABlab(66.63, -22.41, 60.51)
CIE-LCHlch(66.63, 64.52, 110.32°)
OKLaboklab(70.47% -0.0677 0.133)
OKLCHoklch(70.47% 0.149 117)
XYZxyz(28.2731, 36.1494, 7.4952)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAB28 #3928AB
analogous
#AB7B28 #9AAB28 #59AB28
triadic
#9AAB28 #289AAB #AB289A
tetradic
#9AAB28 #28AB7B #3928AB #AB2859
square
#9AAB28 #28AB7B #3928AB #AB2859
split-complementary
#9AAB28 #2859AB #7B28AB
monochromatic
#414811 #6D791C #9AAB28 #BFD23E #CFDE70

Accessibility & contrast

On white

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

On black

8.23
#9AAB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAB28
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAB28#FFFFFF#000000##000000
##9AAB281.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9aab28;
/* rgb */ color: rgb(154, 171, 40);
/* oklch */ color: oklch(70.5% 0.149 117.0);
Tailwind
colors: {
  custom: {
    50: '#bbc36d',
    500: '#9aab28',
    950: '#000000',
  },
}
SCSS
$custom: #9aab28;
$custom-light: #bbc36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9aab28",
  "rgb": {
    "r": 154,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 67.786,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.7047,
    "c": 0.14922,
    "h": 117
  },
  "luminance": 0.36149
}

Semantic roles & 50–950 ramp

primary
#9AAB28
secondary
#766AC4
accent
#43E558
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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