#ABCB42#ABCB42

#ABCB42 is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.3% C 0.164 H 121.6°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#ABCB42
RGBrgb(171, 203, 66)
HSLhsl(74, 57%, 53%)
HSVhsv(74, 67%, 80%)
CMYKcmyk(15.8%, 0%, 67.5%, 20.4%)
CIE-LABlab(77.14, -29.49, 61.89)
CIE-LCHlch(77.14, 68.56, 115.48°)
OKLaboklab(79.28% -0.086 0.1397)
OKLCHoklch(79.28% 0.164 121.6)
XYZxyz(39.1344, 51.7631, 13.0828)
Luminance0.5176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCB42 #6242CB
analogous
#CBA742 #ABCB42 #66CB42
triadic
#ABCB42 #42ABCB #CB42AB
tetradic
#ABCB42 #42CBA7 #6242CB #CB4266
square
#ABCB42 #42CBA7 #6242CB #CB4266
split-complementary
#ABCB42 #4266CB #A742CB
monochromatic
#607320 #87A32D #ABCB42 #C0D872 #D6E5A2

Accessibility & contrast

On white

1.85
#ABCB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#ABCB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCB42
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCB42#FFFFFF#000000##000000
##ABCB421.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#D3BF4D
Tritanopia (blue-blind)
#B4C1AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #abcb42;
/* rgb */ color: rgb(171, 203, 66);
/* oklch */ color: oklch(79.3% 0.164 121.6);
Tailwind
colors: {
  custom: {
    50: '#c7da7e',
    500: '#abcb42',
    950: '#000000',
  },
}
SCSS
$custom: #abcb42;
$custom-light: #c7da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#abcb42",
  "rgb": {
    "r": 171,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 74.015,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79283,
    "c": 0.16399,
    "h": 121.6
  },
  "luminance": 0.51763
}

Semantic roles & 50–950 ramp

primary
#ABCB42
secondary
#46357C
accent
#48E06B
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #ABCB42

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

Preview Lab → · Contrast checker → · Palette generator →

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