#ABC842#ABC842

#ABC842 is a light, vivid yellow-green. Relative luminance 0.504; OKLCH L 78.6% C 0.160 H 120.8°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#ABC842
RGBrgb(171, 200, 66)
HSLhsl(73, 55%, 52%)
HSVhsv(73, 67%, 78%)
CMYKcmyk(14.5%, 0%, 67%, 21.6%)
CIE-LABlab(76.29, -28.06, 61.02)
CIE-LCHlch(76.29, 67.17, 114.70°)
OKLaboklab(78.6% -0.082 0.1378)
OKLCHoklch(78.6% 0.16 120.8)
XYZxyz(38.4328, 50.3599, 12.8489)
Luminance0.5036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC842 #5F42C8
analogous
#C8A242 #ABC842 #68C842
triadic
#ABC842 #42ABC8 #C842AB
tetradic
#ABC842 #42C8A2 #5F42C8 #C84268
square
#ABC842 #42C8A2 #5F42C8 #C84268
split-complementary
#ABC842 #4268C8 #A242C8
monochromatic
#5E6F20 #869F2E #ABC842 #C0D671 #D5E4A1

Accessibility & contrast

On white

1.90
#ABC842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#ABC842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC842
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC842#FFFFFF#000000##000000
##ABC8421.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2F
Deuteranopia (green-blind)
#D1BC4C
Tritanopia (blue-blind)
#B4BEAD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #abc842;
/* rgb */ color: rgb(171, 200, 66);
/* oklch */ color: oklch(78.6% 0.160 120.8);
Tailwind
colors: {
  custom: {
    50: '#c7d87e',
    500: '#abc842',
    950: '#000000',
  },
}
SCSS
$custom: #abc842;
$custom-light: #c7d87e;
$custom-dark: #000000;
JSON
{
  "hex": "#abc842",
  "rgb": {
    "r": 171,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 72.985,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78599,
    "c": 0.16038,
    "h": 120.8
  },
  "luminance": 0.5036
}

Semantic roles & 50–950 ramp

primary
#ABC842
secondary
#443679
accent
#4ADE6A
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13140A
muted
#83837D

Preview Lab

Preview with #ABC842

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

Preview Lab → · Contrast checker → · Palette generator →

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