#9AA526#9AA526

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

Color values

HEX#9AA526
RGBrgb(154, 165, 38)
HSLhsl(65, 63%, 40%)
HSVhsv(65, 77%, 65%)
CMYKcmyk(6.7%, 0%, 77%, 35.3%)
CIE-LABlab(64.90, -19.49, 59.55)
CIE-LCHlch(64.90, 62.65, 108.12°)
OKLaboklab(69.07% -0.0598 0.1306)
OKLCHoklch(69.07% 0.144 114.6)
XYZxyz(27.1322, 33.9207, 6.9514)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA526 #3126A5
analogous
#A57126 #9AA526 #5AA526
triadic
#9AA526 #269AA5 #A5269A
tetradic
#9AA526 #26A571 #3126A5 #A5265A
square
#9AA526 #26A571 #3126A5 #A5265A
split-complementary
#9AA526 #265AA5 #7126A5
monochromatic
#3D420F #6C731B #9AA526 #C4D137 #D2DC69

Accessibility & contrast

On white

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

On black

7.78
#9AA526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA526
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA526#FFFFFF#000000##000000
##9AA5261.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9aa526;
/* rgb */ color: rgb(154, 165, 38);
/* oklch */ color: oklch(69.1% 0.144 114.6);
Tailwind
colors: {
  custom: {
    50: '#bbbf6b',
    500: '#9aa526',
    950: '#000000',
  },
}
SCSS
$custom: #9aa526;
$custom-light: #bbbf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa526",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 65.197,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69074,
    "c": 0.14362,
    "h": 114.6
  },
  "luminance": 0.3392
}

Semantic roles & 50–950 ramp

primary
#9AA526
secondary
#6C64C3
accent
#42E650
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA526

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

Preview Lab → · Contrast checker → · Palette generator →

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