#9AB951#9AB951

#9AB951 is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 74.1% C 0.136 H 123.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#9AB951
RGBrgb(154, 185, 81)
HSLhsl(78, 43%, 52%)
HSVhsv(78, 56%, 73%)
CMYKcmyk(16.8%, 0%, 56.2%, 27.5%)
CIE-LABlab(70.98, -26.51, 48.48)
CIE-LCHlch(70.98, 55.26, 118.67°)
OKLaboklab(74.07% -0.0753 0.1134)
OKLCHoklch(74.07% 0.136 123.6)
XYZxyz(32.1607, 42.1619, 14.2267)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB951 #7051B9
analogous
#B9A451 #9AB951 #66B951
triadic
#9AB951 #519AB9 #B9519A
tetradic
#9AB951 #51B9A4 #7051B9 #B95166
square
#9AB951 #51B9A4 #7051B9 #B95166
split-complementary
#9AB951 #5166B9 #A451B9
monochromatic
#546629 #78923B #9AB951 #B3CB7D #CDDCA8

Accessibility & contrast

On white

2.23
#9AB951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#9AB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB951
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB951#FFFFFF#000000##000000
##9AB9511.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF46
Deuteranopia (green-blind)
#BEAE58
Tritanopia (blue-blind)
#A0B1A2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9ab951;
/* rgb */ color: rgb(154, 185, 81);
/* oklch */ color: oklch(74.1% 0.136 123.6);
Tailwind
colors: {
  custom: {
    50: '#bace85',
    500: '#9ab951',
    950: '#000000',
  },
}
SCSS
$custom: #9ab951;
$custom-light: #bace85;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab951",
  "rgb": {
    "r": 154,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 77.885,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74071,
    "c": 0.13612,
    "h": 123.6
  },
  "luminance": 0.42162
}

Semantic roles & 50–950 ramp

primary
#9AB951
secondary
#AA9CCA
accent
#55D27B
background
#FBFCF8
surface
#F6F9EF
border
#D0D2CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9AB951

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

Preview Lab → · Contrast checker → · Palette generator →

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