#ABCF52#ABCF52

#ABCF52 is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.3% C 0.157 H 123.5°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#ABCF52
RGBrgb(171, 207, 82)
HSLhsl(77, 57%, 57%)
HSVhsv(77, 60%, 81%)
CMYKcmyk(17.4%, 0%, 60.4%, 18.8%)
CIE-LABlab(78.40, -30.24, 56.69)
CIE-LCHlch(78.40, 64.25, 118.08°)
OKLaboklab(80.34% -0.0866 0.1308)
OKLCHoklch(80.34% 0.157 123.5)
XYZxyz(40.6307, 53.8925, 16.2428)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCF52 #7652CF
analogous
#CFB552 #ABCF52 #6DCF52
triadic
#ABCF52 #52ABCF #CF52AB
tetradic
#ABCF52 #52CFB5 #7652CF #CF526D
square
#ABCF52 #52CFB5 #7652CF #CF526D
split-complementary
#ABCF52 #526DCF #B552CF
monochromatic
#678224 #8DB231 #ABCF52 #C2DC82 #DAEAB2

Accessibility & contrast

On white

1.78
#ABCF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#ABCF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCF52
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCF52#FFFFFF#000000##000000
##ABCF521.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC344
Deuteranopia (green-blind)
#D5C25B
Tritanopia (blue-blind)
#B3C5B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #abcf52;
/* rgb */ color: rgb(171, 207, 82);
/* oklch */ color: oklch(80.3% 0.157 123.5);
Tailwind
colors: {
  custom: {
    50: '#c7dd87',
    500: '#abcf52',
    950: '#000000',
  },
}
SCSS
$custom: #abcf52;
$custom-light: #c7dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#abcf52",
  "rgb": {
    "r": 171,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 77.28,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8034,
    "c": 0.15685,
    "h": 123.5
  },
  "luminance": 0.53893
}

Semantic roles & 50–950 ramp

primary
#ABCF52
secondary
#523C8A
accent
#48E074
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #ABCF52

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

Preview Lab → · Contrast checker → · Palette generator →

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