#ABC257#ABC257

#ABC257 is a light, vivid yellow-green. Relative luminance 0.479; OKLCH L 77.4% C 0.136 H 119.8°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#ABC257
RGBrgb(171, 194, 87)
HSLhsl(73, 47%, 55%)
HSVhsv(73, 55%, 76%)
CMYKcmyk(11.9%, 0%, 55.2%, 23.9%)
CIE-LABlab(74.78, -23.58, 50.38)
CIE-LCHlch(74.78, 55.62, 115.08°)
OKLaboklab(77.44% -0.0675 0.1179)
OKLCHoklch(77.44% 0.136 119.8)
XYZxyz(37.8071, 47.9298, 16.2746)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC257 #6E57C2
analogous
#C2A357 #ABC257 #76C257
triadic
#ABC257 #57ABC2 #C257AB
tetradic
#ABC257 #57C2A3 #6E57C2 #C25776
square
#ABC257 #57C2A3 #6E57C2 #C25776
split-complementary
#ABC257 #5776C2 #A357C2
monochromatic
#64742A #8BA13B #ABC257 #C1D284 #D8E3B1

Accessibility & contrast

On white

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

On black

10.59
#ABC257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC257
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC257#FFFFFF#000000##000000
##ABC2571.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84C
Deuteranopia (green-blind)
#CAB85E
Tritanopia (blue-blind)
#B3B9AA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc257;
/* rgb */ color: rgb(171, 194, 87);
/* oklch */ color: oklch(77.4% 0.136 119.8);
Tailwind
colors: {
  custom: {
    50: '#c6d48a',
    500: '#abc257',
    950: '#000000',
  },
}
SCSS
$custom: #abc257;
$custom-light: #c6d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#abc257",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 87
  },
  "hsl": {
    "h": 72.897,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77444,
    "c": 0.13582,
    "h": 119.8
  },
  "luminance": 0.4793
}

Semantic roles & 50–950 ramp

primary
#ABC257
secondary
#AEA4D1
accent
#51D66E
background
#FCFDF8
surface
#F8FAF0
border
#D1D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #ABC257

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

Preview Lab → · Contrast checker → · Palette generator →

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