#ABC240#ABC240

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

Color values

HEX#ABC240
RGBrgb(171, 194, 64)
HSLhsl(71, 52%, 51%)
HSVhsv(71, 67%, 76%)
CMYKcmyk(11.9%, 0%, 67%, 23.9%)
CIE-LABlab(74.58, -25.31, 60.04)
CIE-LCHlch(74.58, 65.16, 112.85°)
OKLaboklab(77.22% -0.0746 0.1355)
OKLCHoklch(77.22% 0.155 118.8)
XYZxyz(37.0125, 47.6119, 12.0897)
Luminance0.4761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC240 #5740C2
analogous
#C29840 #ABC240 #6AC240
triadic
#ABC240 #40ABC2 #C240AB
tetradic
#ABC240 #40C298 #5740C2 #C2406A
square
#ABC240 #40C298 #5740C2 #C2406A
split-complementary
#ABC240 #406AC2 #9840C2
monochromatic
#5A6721 #839530 #ABC240 #BFD16E #D4E09D

Accessibility & contrast

On white

2.00
#ABC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#ABC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC240
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC240#FFFFFF#000000##000000
##ABC2401.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #abc240;
/* rgb */ color: rgb(171, 194, 64);
/* oklch */ color: oklch(77.2% 0.155 118.8);
Tailwind
colors: {
  custom: {
    50: '#c7d47c',
    500: '#abc240',
    950: '#000000',
  },
}
SCSS
$custom: #abc240;
$custom-light: #c7d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#abc240",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 70.615,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77218,
    "c": 0.15462,
    "h": 118.8
  },
  "luminance": 0.47612
}

Semantic roles & 50–950 ramp

primary
#ABC240
secondary
#9C92CC
accent
#4DDB66
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #ABC240

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

Preview Lab → · Contrast checker → · Palette generator →

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