#9AAA27#9AAA27

#9AAA27 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.2% C 0.149 H 116.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#9AAA27
RGBrgb(154, 170, 39)
HSLhsl(67, 63%, 41%)
HSVhsv(67, 77%, 67%)
CMYKcmyk(9.4%, 0%, 77.1%, 33.3%)
CIE-LABlab(66.34, -21.96, 60.56)
CIE-LCHlch(66.34, 64.41, 109.93°)
OKLaboklab(70.23% -0.0666 0.1329)
OKLCHoklch(70.23% 0.149 116.6)
XYZxyz(28.0681, 35.7663, 7.3440)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AAA27 #3727AA
analogous
#AA7827 #9AAA27 #58AA27
triadic
#9AAA27 #279AAA #AA279A
tetradic
#9AAA27 #27AA78 #3727AA #AA2758
square
#9AAA27 #27AA78 #3727AA #AA2758
split-complementary
#9AAA27 #2758AA #7827AA
monochromatic
#404610 #6D781C #9AAA27 #C0D23C #D0DE6E

Accessibility & contrast

On white

2.58
#9AAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#9AAA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AAA27
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AAA27#FFFFFF#000000##000000
##9AAA271.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A102
Deuteranopia (green-blind)
#B5A233
Tritanopia (blue-blind)
#A4A092
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9aaa27;
/* rgb */ color: rgb(154, 170, 39);
/* oklch */ color: oklch(70.2% 0.149 116.6);
Tailwind
colors: {
  custom: {
    50: '#bbc36c',
    500: '#9aaa27',
    950: '#000000',
  },
}
SCSS
$custom: #9aaa27;
$custom-light: #bbc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9aaa27",
  "rgb": {
    "r": 154,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 67.328,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70233,
    "c": 0.14863,
    "h": 116.6
  },
  "luminance": 0.35766
}

Semantic roles & 50–950 ramp

primary
#9AAA27
secondary
#7469C4
accent
#42E656
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AAA27

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

Preview Lab → · Contrast checker → · Palette generator →

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