#ABC252#ABC252

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

Color values

HEX#ABC252
RGBrgb(171, 194, 82)
HSLhsl(72, 48%, 54%)
HSVhsv(72, 58%, 76%)
CMYKcmyk(11.9%, 0%, 57.7%, 23.9%)
CIE-LABlab(74.73, -24.00, 52.60)
CIE-LCHlch(74.73, 57.82, 114.53°)
OKLaboklab(77.39% -0.0692 0.1221)
OKLCHoklch(77.39% 0.14 119.5)
XYZxyz(37.6098, 47.8509, 15.2358)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC252 #6952C2
analogous
#C2A152 #ABC252 #73C252
triadic
#ABC252 #52ABC2 #C252AB
tetradic
#ABC252 #52C2A1 #6952C2 #C25273
square
#ABC252 #52C2A1 #6952C2 #C25273
split-complementary
#ABC252 #5273C2 #A152C2
monochromatic
#627228 #8A9F38 #ABC252 #C1D27F #D7E2AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABC252#FFFFFF#000000##000000
##ABC2521.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)
#CDB846
Deuteranopia (green-blind)
#CBB859
Tritanopia (blue-blind)
#B4B9AA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc252;
/* rgb */ color: rgb(171, 194, 82);
/* oklch */ color: oklch(77.4% 0.140 119.5);
Tailwind
colors: {
  custom: {
    50: '#c6d487',
    500: '#abc252',
    950: '#000000',
  },
}
SCSS
$custom: #abc252;
$custom-light: #c6d487;
$custom-dark: #000000;
JSON
{
  "hex": "#abc252",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 72.321,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77388,
    "c": 0.14032,
    "h": 119.5
  },
  "luminance": 0.47851
}

Semantic roles & 50–950 ramp

primary
#ABC252
secondary
#AAA0D0
accent
#50D76C
background
#FCFDF8
surface
#F8FAF0
border
#D1D3CB
text
#13140B
muted
#82837C

Preview Lab

Preview with #ABC252

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

Preview Lab → · Contrast checker → · Palette generator →

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