#9AB526#9AB526

#9AB526 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#9AB526
RGBrgb(154, 181, 38)
HSLhsl(71, 65%, 43%)
HSVhsv(71, 79%, 71%)
CMYKcmyk(14.9%, 0%, 79%, 29%)
CIE-LABlab(69.51, -27.39, 63.75)
CIE-LCHlch(69.51, 69.39, 113.25°)
OKLaboklab(72.78% -0.0816 0.1395)
OKLCHoklch(72.78% 0.162 120.3)
XYZxyz(30.2007, 40.0578, 7.9743)
Luminance0.4006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB526 #4126B5
analogous
#B58926 #9AB526 #52B526
triadic
#9AB526 #269AB5 #B5269A
tetradic
#9AB526 #26B589 #4126B5 #B52652
square
#9AB526 #26B589 #4126B5 #B52652
split-complementary
#9AB526 #2652B5 #8926B5
monochromatic
#445011 #6F821B #9AB526 #BBD741 #CDE274

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB526#FFFFFF#000000##000000
##9AB5261.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: #9ab526;
/* rgb */ color: rgb(154, 181, 38);
/* oklch */ color: oklch(72.8% 0.162 120.3);
Tailwind
colors: {
  custom: {
    50: '#bccb6d',
    500: '#9ab526',
    950: '#000000',
  },
}
SCSS
$custom: #9ab526;
$custom-light: #bccb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab526",
  "rgb": {
    "r": 154,
    "g": 181,
    "b": 38
  },
  "hsl": {
    "h": 71.329,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72783,
    "c": 0.16161,
    "h": 120.3
  },
  "luminance": 0.40058
}

Semantic roles & 50–950 ramp

primary
#9AB526
secondary
#7F6EC9
accent
#40E85F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB526

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

Preview Lab → · Contrast checker → · Palette generator →

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