#ABC962#ABC962

#ABC962 is a light, vivid yellow-green. Relative luminance 0.513; OKLCH L 79.2% C 0.135 H 122.9°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#ABC962
RGBrgb(171, 201, 98)
HSLhsl(77, 49%, 59%)
HSVhsv(77, 51%, 79%)
CMYKcmyk(14.9%, 0%, 51.2%, 21.2%)
CIE-LABlab(76.87, -25.96, 47.66)
CIE-LCHlch(76.87, 54.27, 118.57°)
OKLaboklab(79.16% -0.0732 0.113)
OKLCHoklch(79.16% 0.135 122.9)
XYZxyz(39.8860, 51.3129, 19.3560)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC962 #8062C9
analogous
#C9B362 #ABC962 #77C962
triadic
#ABC962 #62ABC9 #C962AB
tetradic
#ABC962 #62C9B3 #8062C9 #C96277
square
#ABC962 #62C9B3 #8062C9 #C96277
split-complementary
#ABC962 #6277C9 #B362C9
monochromatic
#6A832D #8FB13D #ABC962 #C3D990 #DCE8BD

Accessibility & contrast

On white

1.86
#ABC962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#ABC962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC962
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC962#FFFFFF#000000##000000
##ABC9621.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BF59
Deuteranopia (green-blind)
#CFBE68
Tritanopia (blue-blind)
#B2C0B2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #abc962;
/* rgb */ color: rgb(171, 201, 98);
/* oklch */ color: oklch(79.2% 0.135 122.9);
Tailwind
colors: {
  custom: {
    50: '#c6d991',
    500: '#abc962',
    950: '#000000',
  },
}
SCSS
$custom: #abc962;
$custom-light: #c6d991;
$custom-dark: #000000;
JSON
{
  "hex": "#abc962",
  "rgb": {
    "r": 171,
    "g": 201,
    "b": 98
  },
  "hsl": {
    "h": 77.476,
    "s": 48.815,
    "l": 58.627
  },
  "oklch": {
    "l": 0.7916,
    "c": 0.13461,
    "h": 122.9
  },
  "luminance": 0.51313
}

Semantic roles & 50–950 ramp

primary
#ABC962
secondary
#59448B
accent
#4FD877
background
#FDFEFC
surface
#F9FBF4
border
#D2D4CE
text
#13140D
muted
#82837F

Preview Lab

Preview with #ABC962

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

Preview Lab → · Contrast checker → · Palette generator →

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