#ABC248#ABC248

#ABC248 is a light, vivid yellow-green. Relative luminance 0.477; OKLCH L 77.3% C 0.149 H 119.1°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#ABC248
RGBrgb(171, 194, 72)
HSLhsl(71, 50%, 52%)
HSVhsv(71, 63%, 76%)
CMYKcmyk(11.9%, 0%, 62.9%, 23.9%)
CIE-LABlab(74.64, -24.77, 56.86)
CIE-LCHlch(74.64, 62.02, 113.54°)
OKLaboklab(77.29% -0.0723 0.1299)
OKLCHoklch(77.29% 0.149 119.1)
XYZxyz(37.2567, 47.7096, 13.3758)
Luminance0.4771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC248 #5F48C2
analogous
#C29C48 #ABC248 #6EC248
triadic
#ABC248 #48ABC2 #C248AB
tetradic
#ABC248 #48C29C #5F48C2 #C2486E
square
#ABC248 #48C29C #5F48C2 #C2486E
split-complementary
#ABC248 #486EC2 #9C48C2
monochromatic
#5E6C24 #869A33 #ABC248 #C0D176 #D5E1A4

Accessibility & contrast

On white

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

On black

10.54
#ABC248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC248
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC248#FFFFFF#000000##000000
##ABC2481.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB839
Deuteranopia (green-blind)
#CBB850
Tritanopia (blue-blind)
#B4B8A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc248;
/* rgb */ color: rgb(171, 194, 72);
/* oklch */ color: oklch(77.3% 0.149 119.1);
Tailwind
colors: {
  custom: {
    50: '#c7d480',
    500: '#abc248',
    950: '#000000',
  },
}
SCSS
$custom: #abc248;
$custom-light: #c7d480;
$custom-dark: #000000;
JSON
{
  "hex": "#abc248",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 71.311,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77287,
    "c": 0.14866,
    "h": 119.1
  },
  "luminance": 0.47709
}

Semantic roles & 50–950 ramp

primary
#ABC248
secondary
#A298CE
accent
#4EDA69
background
#FCFDF8
surface
#F8FAEF
border
#D1D3CA
text
#13140B
muted
#82837C

Preview Lab

Preview with #ABC248

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

Preview Lab → · Contrast checker → · Palette generator →

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