#ABC840#ABC840

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

Color values

HEX#ABC840
RGBrgb(171, 200, 64)
HSLhsl(73, 55%, 52%)
HSVhsv(73, 68%, 78%)
CMYKcmyk(14.5%, 0%, 68%, 21.6%)
CIE-LABlab(76.28, -28.19, 61.78)
CIE-LCHlch(76.28, 67.91, 114.53°)
OKLaboklab(78.58% -0.0826 0.1391)
OKLCHoklch(78.58% 0.162 120.7)
XYZxyz(38.3749, 50.3367, 12.5438)
Luminance0.5034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC840 #5D40C8
analogous
#C8A140 #ABC840 #67C840
triadic
#ABC840 #40ABC8 #C840AB
tetradic
#ABC840 #40C8A1 #5D40C8 #C84067
square
#ABC840 #40C8A1 #5D40C8 #C84067
split-complementary
#ABC840 #4067C8 #A140C8
monochromatic
#5D6E20 #869D2D #ABC840 #C0D670 #D5E39F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABC840#FFFFFF#000000##000000
##ABC8401.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)
#D4BC2B
Deuteranopia (green-blind)
#D1BC4B
Tritanopia (blue-blind)
#B4BEAD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #abc840;
/* rgb */ color: rgb(171, 200, 64);
/* oklch */ color: oklch(78.6% 0.162 120.7);
Tailwind
colors: {
  custom: {
    50: '#c7d87c',
    500: '#abc840',
    950: '#000000',
  },
}
SCSS
$custom: #abc840;
$custom-light: #c7d87c;
$custom-dark: #000000;
JSON
{
  "hex": "#abc840",
  "rgb": {
    "r": 171,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 72.794,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78583,
    "c": 0.16176,
    "h": 120.7
  },
  "luminance": 0.50337
}

Semantic roles & 50–950 ramp

primary
#ABC840
secondary
#433577
accent
#49DF69
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13140A
muted
#83837D

Preview Lab

Preview with #ABC840

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

Preview Lab → · Contrast checker → · Palette generator →

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