#ABC172#ABC172

#ABC172 is a light, moderate yellow-green. Relative luminance 0.480; OKLCH L 77.6% C 0.107 H 121.6°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#ABC172
RGBrgb(171, 193, 114)
HSLhsl(77, 39%, 60%)
HSVhsv(77, 41%, 76%)
CMYKcmyk(11.4%, 0%, 40.9%, 24.3%)
CIE-LABlab(74.83, -20.29, 37.27)
CIE-LCHlch(74.83, 42.43, 118.56°)
OKLaboklab(77.59% -0.056 0.0909)
OKLCHoklch(77.59% 0.107 121.6)
XYZxyz(38.9018, 48.0128, 23.1343)
Luminance0.4801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC172 #8872C1
analogous
#C1AF72 #ABC172 #83C172
triadic
#ABC172 #72ABC1 #C172AB
tetradic
#ABC172 #72C1AF #8872C1 #C17283
square
#ABC172 #72C1AF #8872C1 #C17283
split-complementary
#ABC172 #7283C1 #AF72C1
monochromatic
#6C8038 #90AB4B #ABC172 #C4D49D #DEE6C7

Accessibility & contrast

On white

1.98
#ABC172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#ABC172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC172
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC172#FFFFFF#000000##000000
##ABC1721.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB96C
Deuteranopia (green-blind)
#C7B876
Tritanopia (blue-blind)
#B1BAAE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc172;
/* rgb */ color: rgb(171, 193, 114);
/* oklch */ color: oklch(77.6% 0.107 121.6);
Tailwind
colors: {
  custom: {
    50: '#c5d39c',
    500: '#abc172',
    950: '#000000',
  },
}
SCSS
$custom: #abc172;
$custom-light: #c5d39c;
$custom-dark: #000000;
JSON
{
  "hex": "#abc172",
  "rgb": {
    "r": 171,
    "g": 193,
    "b": 114
  },
  "hsl": {
    "h": 76.709,
    "s": 38.916,
    "l": 60.196
  },
  "oklch": {
    "l": 0.77594,
    "c": 0.10674,
    "h": 121.6
  },
  "luminance": 0.48013
}

Semantic roles & 50–950 ramp

primary
#ABC172
secondary
#C1B8D7
accent
#34B257
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #ABC172

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

Preview Lab → · Contrast checker → · Palette generator →

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