#9AA525#9AA525

#9AA525 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#9AA525
RGBrgb(154, 165, 37)
HSLhsl(65, 63%, 40%)
HSVhsv(65, 78%, 65%)
CMYKcmyk(6.7%, 0%, 77.6%, 35.3%)
CIE-LABlab(64.89, -19.53, 59.86)
CIE-LCHlch(64.89, 62.97, 108.07°)
OKLaboklab(69.07% -0.06 0.1311)
OKLCHoklch(69.07% 0.144 114.6)
XYZxyz(27.1163, 33.9144, 6.8676)
Luminance0.3391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA525 #3025A5
analogous
#A57025 #9AA525 #5AA525
triadic
#9AA525 #259AA5 #A5259A
tetradic
#9AA525 #25A570 #3025A5 #A5255A
square
#9AA525 #25A570 #3025A5 #A5255A
split-complementary
#9AA525 #255AA5 #7025A5
monochromatic
#3D410F #6B731A #9AA525 #C4D235 #D3DD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AA525#FFFFFF#000000##000000
##9AA5251.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)
#B19C00
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#A49B8D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa525;
/* rgb */ color: rgb(154, 165, 37);
/* oklch */ color: oklch(69.1% 0.144 114.6);
Tailwind
colors: {
  custom: {
    50: '#bbbf6b',
    500: '#9aa525',
    950: '#000000',
  },
}
SCSS
$custom: #9aa525;
$custom-light: #bbbf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa525",
  "rgb": {
    "r": 154,
    "g": 165,
    "b": 37
  },
  "hsl": {
    "h": 65.156,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69068,
    "c": 0.14415,
    "h": 114.6
  },
  "luminance": 0.33914
}

Semantic roles & 50–950 ramp

primary
#9AA525
secondary
#6B63C3
accent
#41E650
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9AA525

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

Preview Lab → · Contrast checker → · Palette generator →

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