#ABC151#ABC151

#ABC151 is a light, vivid yellow-green. Relative luminance 0.474; OKLCH L 77.2% C 0.140 H 119.1°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#ABC151
RGBrgb(171, 193, 81)
HSLhsl(72, 47%, 54%)
HSVhsv(72, 58%, 76%)
CMYKcmyk(11.4%, 0%, 58%, 24.3%)
CIE-LABlab(74.44, -23.60, 52.72)
CIE-LCHlch(74.44, 57.76, 114.11°)
OKLaboklab(77.15% -0.0681 0.1222)
OKLCHoklch(77.15% 0.14 119.1)
XYZxyz(37.3503, 47.3922, 14.9629)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC151 #6751C1
analogous
#C19F51 #ABC151 #73C151
triadic
#ABC151 #51ABC1 #C151AB
tetradic
#ABC151 #51C19F #6751C1 #C15173
square
#ABC151 #51C19F #6751C1 #C15173
split-complementary
#ABC151 #5173C1 #9F51C1
monochromatic
#627028 #899D38 #ABC151 #C1D17E #D7E1AB

Accessibility & contrast

On white

2.00
#ABC151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#ABC151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC151
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC151#FFFFFF#000000##000000
##ABC1511.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB745
Deuteranopia (green-blind)
#CAB858
Tritanopia (blue-blind)
#B4B8A9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #abc151;
/* rgb */ color: rgb(171, 193, 81);
/* oklch */ color: oklch(77.2% 0.140 119.1);
Tailwind
colors: {
  custom: {
    50: '#c6d386',
    500: '#abc151',
    950: '#000000',
  },
}
SCSS
$custom: #abc151;
$custom-light: #c6d386;
$custom-dark: #000000;
JSON
{
  "hex": "#abc151",
  "rgb": {
    "r": 171,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 71.786,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77151,
    "c": 0.13994,
    "h": 119.1
  },
  "luminance": 0.47392
}

Semantic roles & 50–950 ramp

primary
#ABC151
secondary
#A89FCF
accent
#51D76B
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140B
muted
#82827C

Preview Lab

Preview with #ABC151

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

Preview Lab → · Contrast checker → · Palette generator →

#ABC151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva