#ABCB2B#ABCB2B

#ABCB2B is a light, vivid yellow-green. Relative luminance 0.515; OKLCH L 79.1% C 0.177 H 120.9°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#ABCB2B
RGBrgb(171, 203, 43)
HSLhsl(72, 65%, 48%)
HSVhsv(72, 79%, 80%)
CMYKcmyk(15.8%, 0%, 78.8%, 20.4%)
CIE-LABlab(77.01, -30.66, 69.52)
CIE-LCHlch(77.01, 75.98, 113.80°)
OKLaboklab(79.14% -0.0911 0.152)
OKLCHoklch(79.14% 0.177 120.9)
XYZxyz(38.5873, 51.5443, 10.2012)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCB2B #4B2BCB
analogous
#CB9B2B #ABCB2B #5BCB2B
triadic
#ABCB2B #2BABCB #CB2BAB
tetradic
#ABCB2B #2BCB9B #4B2BCB #CB2B5B
square
#ABCB2B #2BCB9B #4B2BCB #CB2B5B
split-complementary
#ABCB2B #2B5BCB #9B2BCB
monochromatic
#566616 #809820 #ABCB2B #C1DC58 #D4E68A

Accessibility & contrast

On white

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

On black

11.31
#ABCB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCB2B
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCB2B#FFFFFF#000000##000000
##ABCB2B1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D4BE3B
Tritanopia (blue-blind)
#B5C0AE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #abcb2b;
/* rgb */ color: rgb(171, 203, 43);
/* oklch */ color: oklch(79.1% 0.177 120.9);
Tailwind
colors: {
  custom: {
    50: '#c8da73',
    500: '#abcb2b',
    950: '#000000',
  },
}
SCSS
$custom: #abcb2b;
$custom-light: #c8da73;
$custom-dark: #000000;
JSON
{
  "hex": "#abcb2b",
  "rgb": {
    "r": 171,
    "g": 203,
    "b": 43
  },
  "hsl": {
    "h": 72,
    "s": 65.041,
    "l": 48.235
  },
  "oklch": {
    "l": 0.79135,
    "c": 0.17724,
    "h": 120.9
  },
  "luminance": 0.51544
}

Semantic roles & 50–950 ramp

primary
#ABCB2B
secondary
#382A70
accent
#40E861
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #ABCB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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