#ABC255#ABC255

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

Color values

HEX#ABC255
RGBrgb(171, 194, 85)
HSLhsl(73, 47%, 55%)
HSVhsv(73, 56%, 76%)
CMYKcmyk(11.9%, 0%, 56.2%, 23.9%)
CIE-LABlab(74.76, -23.75, 51.27)
CIE-LCHlch(74.76, 56.51, 114.85°)
OKLaboklab(77.42% -0.0682 0.1196)
OKLCHoklch(77.42% 0.138 119.7)
XYZxyz(37.7265, 47.8975, 15.8502)
Luminance0.4790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC255 #6C55C2
analogous
#C2A355 #ABC255 #74C255
triadic
#ABC255 #55ABC2 #C255AB
tetradic
#ABC255 #55C2A3 #6C55C2 #C25574
square
#ABC255 #55C2A3 #6C55C2 #C25574
split-complementary
#ABC255 #5574C2 #A355C2
monochromatic
#647329 #8BA03A #ABC255 #C1D282 #D8E2AF

Accessibility & contrast

On white

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

On black

10.58
#ABC255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC255
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC255#FFFFFF#000000##000000
##ABC2551.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84A
Deuteranopia (green-blind)
#CAB85C
Tritanopia (blue-blind)
#B4B9AA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc255;
/* rgb */ color: rgb(171, 194, 85);
/* oklch */ color: oklch(77.4% 0.138 119.7);
Tailwind
colors: {
  custom: {
    50: '#c6d488',
    500: '#abc255',
    950: '#000000',
  },
}
SCSS
$custom: #abc255;
$custom-light: #c6d488;
$custom-dark: #000000;
JSON
{
  "hex": "#abc255",
  "rgb": {
    "r": 171,
    "g": 194,
    "b": 85
  },
  "hsl": {
    "h": 72.661,
    "s": 47.186,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77421,
    "c": 0.13765,
    "h": 119.7
  },
  "luminance": 0.47897
}

Semantic roles & 50–950 ramp

primary
#ABC255
secondary
#ACA2D0
accent
#51D76D
background
#FCFDF8
surface
#F8FAF0
border
#D1D3CB
text
#13140C
muted
#82837D

Preview Lab

Preview with #ABC255

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

Preview Lab → · Contrast checker → · Palette generator →

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