#9AB126#9AB126

#9AB126 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 71.9% C 0.157 H 119.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#9AB126
RGBrgb(154, 177, 38)
HSLhsl(70, 65%, 42%)
HSVhsv(70, 79%, 69%)
CMYKcmyk(13%, 0%, 78.5%, 30.6%)
CIE-LABlab(68.35, -25.45, 62.71)
CIE-LCHlch(68.35, 67.68, 112.09°)
OKLaboklab(71.85% -0.0763 0.1373)
OKLCHoklch(71.85% 0.157 119.1)
XYZxyz(29.3991, 38.4545, 7.7070)
Luminance0.3845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB126 #3D26B1
analogous
#B18326 #9AB126 #55B126
triadic
#9AB126 #269AB1 #B1269A
tetradic
#9AB126 #26B183 #3D26B1 #B12655
square
#9AB126 #26B183 #3D26B1 #B12655
split-complementary
#9AB126 #2655B1 #8326B1
monochromatic
#424C10 #6E7F1B #9AB126 #BDD63F #CEE071

Accessibility & contrast

On white

2.42
#9AB126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#9AB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB126
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB126#FFFFFF#000000##000000
##9AB1261.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#A3A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9ab126;
/* rgb */ color: rgb(154, 177, 38);
/* oklch */ color: oklch(71.9% 0.157 119.1);
Tailwind
colors: {
  custom: {
    50: '#bbc86d',
    500: '#9ab126',
    950: '#000000',
  },
}
SCSS
$custom: #9ab126;
$custom-light: #bbc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab126",
  "rgb": {
    "r": 154,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 69.928,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71851,
    "c": 0.15704,
    "h": 119.1
  },
  "luminance": 0.38454
}

Semantic roles & 50–950 ramp

primary
#9AB126
secondary
#7B6BC7
accent
#40E85C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB126

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

Preview Lab → · Contrast checker → · Palette generator →

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