#9AAB27#9AAB27

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

Color values

HEX#9AAB27
RGBrgb(154, 171, 39)
HSLhsl(68, 63%, 41%)
HSVhsv(68, 77%, 67%)
CMYKcmyk(9.9%, 0%, 77.2%, 32.9%)
CIE-LABlab(66.63, -22.45, 60.82)
CIE-LCHlch(66.63, 64.83, 110.26°)
OKLaboklab(70.46% -0.0679 0.1335)
OKLCHoklch(70.46% 0.15 117)
XYZxyz(28.2563, 36.1427, 7.4068)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAB27 #3827AB
analogous
#AB7A27 #9AAB27 #58AB27
triadic
#9AAB27 #279AAB #AB279A
tetradic
#9AAB27 #27AB7A #3827AB #AB2758
square
#9AAB27 #27AB7A #3827AB #AB2758
split-complementary
#9AAB27 #2758AB #7A27AB
monochromatic
#404710 #6D791C #9AAB27 #BFD33D #D0DE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AAB27#FFFFFF#000000##000000
##9AAB271.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)
#B7A202
Deuteranopia (green-blind)
#B5A333
Tritanopia (blue-blind)
#A4A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9aab27;
/* rgb */ color: rgb(154, 171, 39);
/* oklch */ color: oklch(70.5% 0.150 117.0);
Tailwind
colors: {
  custom: {
    50: '#bbc36c',
    500: '#9aab27',
    950: '#000000',
  },
}
SCSS
$custom: #9aab27;
$custom-light: #bbc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9aab27",
  "rgb": {
    "r": 154,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 67.727,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70464,
    "c": 0.14975,
    "h": 117
  },
  "luminance": 0.36142
}

Semantic roles & 50–950 ramp

primary
#9AAB27
secondary
#7569C5
accent
#42E657
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9AAB27

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

Preview Lab → · Contrast checker → · Palette generator →

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