#ABC242#ABC242

#ABC242 is a light, vivid yellow-green. Relative luminance 0.476; OKLCH L 77.2% C 0.153 H 118.9°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#ABC242
RGBrgb(171, 194, 66)
HSLhsl(71, 51%, 51%)
HSVhsv(71, 66%, 76%)
CMYKcmyk(11.9%, 0%, 66%, 23.9%)
CIE-LABlab(74.59, -25.18, 59.27)
CIE-LCHlch(74.59, 64.39, 113.02°)
OKLaboklab(77.23% -0.074 0.1341)
OKLCHoklch(77.23% 0.153 118.9)
XYZxyz(37.0704, 47.6351, 12.3948)
Luminance0.4763 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC242 #5942C2
analogous
#C29942 #ABC242 #6BC242
triadic
#ABC242 #42ABC2 #C242AB
tetradic
#ABC242 #42C299 #5942C2 #C2426B
square
#ABC242 #42C299 #5942C2 #C2426B
split-complementary
#ABC242 #426BC2 #9942C2
monochromatic
#5B6822 #849631 #ABC242 #C0D170 #D4E09F

Accessibility & contrast

On white

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

On black

10.53
#ABC242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC242
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC242#FFFFFF#000000##000000
##ABC2421.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#CCB84B
Tritanopia (blue-blind)
#B5B8A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #abc242;
/* rgb */ color: rgb(171, 194, 66);
/* oklch */ color: oklch(77.2% 0.153 118.9);
Tailwind
colors: {
  custom: {
    50: '#c7d47d',
    500: '#abc242',
    950: '#000000',
  },
}
SCSS
$custom: #abc242;
$custom-light: #c7d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#abc242",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 70.781,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77234,
    "c": 0.15319,
    "h": 118.9
  },
  "luminance": 0.47635
}

Semantic roles & 50–950 ramp

primary
#ABC242
secondary
#9E94CC
accent
#4DDB67
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #ABC242

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

Preview Lab → · Contrast checker → · Palette generator →

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