#9AB525#9AB525

#9AB525 is a light, vivid yellow-green. Relative luminance 0.401; OKLCH L 72.8% C 0.162 H 120.3°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#9AB525
RGBrgb(154, 181, 37)
HSLhsl(71, 66%, 43%)
HSVhsv(71, 80%, 71%)
CMYKcmyk(14.9%, 0%, 79.6%, 29%)
CIE-LABlab(69.51, -27.43, 64.04)
CIE-LCHlch(69.51, 69.67, 113.19°)
OKLaboklab(72.78% -0.0818 0.1399)
OKLCHoklch(72.78% 0.162 120.3)
XYZxyz(30.1848, 40.0514, 7.8904)
Luminance0.4005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB525 #4025B5
analogous
#B58825 #9AB525 #52B525
triadic
#9AB525 #259AB5 #B5259A
tetradic
#9AB525 #25B588 #4025B5 #B52552
square
#9AB525 #25B588 #4025B5 #B52552
split-complementary
#9AB525 #2552B5 #8825B5
monochromatic
#444F10 #6F821B #9AB525 #BBD83F #CDE272

Accessibility & contrast

On white

2.33
#9AB525 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#9AB525 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB525
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB525#FFFFFF#000000##000000
##9AB5251.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#A3AB9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9ab525;
/* rgb */ color: rgb(154, 181, 37);
/* oklch */ color: oklch(72.8% 0.162 120.3);
Tailwind
colors: {
  custom: {
    50: '#bccb6d',
    500: '#9ab525',
    950: '#000000',
  },
}
SCSS
$custom: #9ab525;
$custom-light: #bccb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab525",
  "rgb": {
    "r": 154,
    "g": 181,
    "b": 37
  },
  "hsl": {
    "h": 71.25,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72778,
    "c": 0.16208,
    "h": 120.3
  },
  "luminance": 0.40051
}

Semantic roles & 50–950 ramp

primary
#9AB525
secondary
#7E6DC9
accent
#3FE95F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB525

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

Preview Lab → · Contrast checker → · Palette generator →

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