#ABC251#ABC251

#ABC251 is a light, vivid yellow-green. Relative luminance 0.478; OKLCH L 77.4% C 0.141 H 119.5°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#ABC251
RGBrgb(171, 194, 81)
HSLhsl(72, 48%, 54%)
HSVhsv(72, 58%, 76%)
CMYKcmyk(11.9%, 0%, 58.2%, 23.9%)
CIE-LABlab(74.72, -24.09, 53.04)
CIE-LCHlch(74.72, 58.25, 114.42°)
OKLaboklab(77.38% -0.0695 0.1229)
OKLCHoklch(77.38% 0.141 119.5)
XYZxyz(37.5721, 47.8358, 15.0369)
Luminance0.4784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC251 #6851C2
analogous
#C2A151 #ABC251 #73C251
triadic
#ABC251 #51ABC2 #C251AB
tetradic
#ABC251 #51C2A1 #6851C2 #C25173
square
#ABC251 #51C2A1 #6851C2 #C25173
split-complementary
#ABC251 #5173C2 #A151C2
monochromatic
#627128 #899E37 #ABC251 #C1D27E #D7E2AC

Accessibility & contrast

On white

1.99
#ABC251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#ABC251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC251
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC251#FFFFFF#000000##000000
##ABC2511.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB845
Deuteranopia (green-blind)
#CBB858
Tritanopia (blue-blind)
#B4B9AA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc251;
/* rgb */ color: rgb(171, 194, 81);
/* oklch */ color: oklch(77.4% 0.141 119.5);
Tailwind
colors: {
  custom: {
    50: '#c6d486',
    500: '#abc251',
    950: '#000000',
  },
}
SCSS
$custom: #abc251;
$custom-light: #c6d486;
$custom-dark: #000000;
JSON
{
  "hex": "#abc251",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 81
  },
  "hsl": {
    "h": 72.212,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77377,
    "c": 0.1412,
    "h": 119.5
  },
  "luminance": 0.47836
}

Semantic roles & 50–950 ramp

primary
#ABC251
secondary
#A99FD0
accent
#50D86C
background
#FCFDF8
surface
#F8FAF0
border
#D1D3CB
text
#13140B
muted
#82837C

Preview Lab

Preview with #ABC251

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

Preview Lab → · Contrast checker → · Palette generator →

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