#9AB123#9AB123

#9AB123 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 71.8% C 0.158 H 119.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#9AB123
RGBrgb(154, 177, 35)
HSLhsl(70, 67%, 42%)
HSVhsv(70, 80%, 69%)
CMYKcmyk(13%, 0%, 80.2%, 30.6%)
CIE-LABlab(68.34, -25.57, 63.57)
CIE-LCHlch(68.34, 68.52, 111.91°)
OKLaboklab(71.84% -0.0768 0.1386)
OKLCHoklch(71.84% 0.158 119)
XYZxyz(29.3526, 38.4359, 7.4623)
Luminance0.3844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB123 #3A23B1
analogous
#B18123 #9AB123 #53B123
triadic
#9AB123 #239AB1 #B1239A
tetradic
#9AB123 #23B181 #3A23B1 #B12353
square
#9AB123 #23B181 #3A23B1 #B12353
split-complementary
#9AB123 #2353B1 #8123B1
monochromatic
#414B0F #6E7E19 #9AB123 #BED839 #CFE26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB123#FFFFFF#000000##000000
##9AB1231.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)
#BAA732
Tritanopia (blue-blind)
#A4A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9ab123;
/* rgb */ color: rgb(154, 177, 35);
/* oklch */ color: oklch(71.8% 0.158 119.0);
Tailwind
colors: {
  custom: {
    50: '#bcc86c',
    500: '#9ab123',
    950: '#000000',
  },
}
SCSS
$custom: #9ab123;
$custom-light: #bcc86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab123",
  "rgb": {
    "r": 154,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 69.718,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71836,
    "c": 0.15847,
    "h": 119
  },
  "luminance": 0.38436
}

Semantic roles & 50–950 ramp

primary
#9AB123
secondary
#7768C8
accent
#3EEA5A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9AB123

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

Preview Lab → · Contrast checker → · Palette generator →

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