#9AA527#9AA527

#9AA527 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.1% C 0.143 H 114.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9AA527
RGBrgb(154, 165, 39)
HSLhsl(65, 62%, 40%)
HSVhsv(65, 76%, 65%)
CMYKcmyk(6.7%, 0%, 76.4%, 35.3%)
CIE-LABlab(64.90, -19.44, 59.23)
CIE-LCHlch(64.90, 62.34, 108.17°)
OKLaboklab(69.08% -0.0596 0.1301)
OKLCHoklch(69.08% 0.143 114.6)
XYZxyz(27.1486, 33.9273, 7.0375)
Luminance0.3393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA527 #3227A5
analogous
#A57127 #9AA527 #5BA527
triadic
#9AA527 #279AA5 #A5279A
tetradic
#9AA527 #27A571 #3227A5 #A5275B
square
#9AA527 #27A571 #3227A5 #A5275B
split-complementary
#9AA527 #275BA5 #7127A5
monochromatic
#3E4210 #6C741B #9AA527 #C3D039 #D2DC6A

Accessibility & contrast

On white

2.70
#9AA527 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#9AA527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA527
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA527#FFFFFF#000000##000000
##9AA5271.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D07
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#A49B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa527;
/* rgb */ color: rgb(154, 165, 39);
/* oklch */ color: oklch(69.1% 0.143 114.6);
Tailwind
colors: {
  custom: {
    50: '#bbbf6c',
    500: '#9aa527',
    950: '#000000',
  },
}
SCSS
$custom: #9aa527;
$custom-light: #bbbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa527",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 65.238,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.6908,
    "c": 0.14309,
    "h": 114.6
  },
  "luminance": 0.33927
}

Semantic roles & 50–950 ramp

primary
#9AA527
secondary
#6E66C2
accent
#43E551
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA527

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

Preview Lab → · Contrast checker → · Palette generator →

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