#9ABA31#9ABA31

#9ABA31 is a light, vivid yellow-green. Relative luminance 0.422; OKLCH L 74.0% C 0.162 H 122.1°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#9ABA31
RGBrgb(154, 186, 49)
HSLhsl(74, 58%, 46%)
HSVhsv(74, 74%, 73%)
CMYKcmyk(17.2%, 0%, 73.7%, 27.1%)
CIE-LABlab(71.02, -29.27, 61.65)
CIE-LCHlch(71.02, 68.24, 115.40°)
OKLaboklab(74.02% -0.0859 0.1369)
OKLCHoklch(74.02% 0.162 122.1)
XYZxyz(31.4402, 42.2095, 9.3960)
Luminance0.4221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ABA31 #5131BA
analogous
#BA9531 #9ABA31 #55BA31
triadic
#9ABA31 #319ABA #BA319A
tetradic
#9ABA31 #31BA95 #5131BA #BA3155
square
#9ABA31 #31BA95 #5131BA #BA3155
split-complementary
#9ABA31 #3155BA #9531BA
monochromatic
#4A5917 #728A24 #9ABA31 #B5D256 #CADF86

Accessibility & contrast

On white

2.22
#9ABA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#9ABA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ABA31
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ABA31#FFFFFF#000000##000000
##9ABA311.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF15
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#A2B0A0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9aba31;
/* rgb */ color: rgb(154, 186, 49);
/* oklch */ color: oklch(74.0% 0.162 122.1);
Tailwind
colors: {
  custom: {
    50: '#bbce73',
    500: '#9aba31',
    950: '#000000',
  },
}
SCSS
$custom: #9aba31;
$custom-light: #bbce73;
$custom-dark: #000000;
JSON
{
  "hex": "#9aba31",
  "rgb": {
    "r": 154,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 74.015,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74015,
    "c": 0.1616,
    "h": 122.1
  },
  "luminance": 0.4221
}

Semantic roles & 50–950 ramp

primary
#9ABA31
secondary
#8F7EC9
accent
#46E26B
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9ABA31

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

Preview Lab → · Contrast checker → · Palette generator →

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