#ABCF38#ABCF38

#ABCF38 is a light, vivid yellow-green. Relative luminance 0.536; OKLCH L 80.1% C 0.175 H 122.3°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#ABCF38
RGBrgb(171, 207, 56)
HSLhsl(74, 61%, 52%)
HSVhsv(74, 73%, 81%)
CMYKcmyk(17.4%, 0%, 72.9%, 18.8%)
CIE-LABlab(78.21, -31.94, 66.59)
CIE-LCHlch(78.21, 73.85, 115.63°)
OKLaboklab(80.13% -0.0936 0.148)
OKLCHoklch(80.13% 0.175 122.3)
XYZxyz(39.8218, 53.5690, 11.9826)
Luminance0.5357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCF38 #5C38CF
analogous
#CFA838 #ABCF38 #60CF38
triadic
#ABCF38 #38ABCF #CF38AB
tetradic
#ABCF38 #38CFA8 #5C38CF #CF3860
square
#ABCF38 #38CFA8 #5C38CF #CF3860
split-complementary
#ABCF38 #3860CF #A838CF
monochromatic
#5D711B #85A327 #ABCF38 #C0DB69 #D5E79B

Accessibility & contrast

On white

1.79
#ABCF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#ABCF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCF38
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCF38#FFFFFF#000000##000000
##ABCF381.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC219
Deuteranopia (green-blind)
#D7C145
Tritanopia (blue-blind)
#B4C4B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #abcf38;
/* rgb */ color: rgb(171, 207, 56);
/* oklch */ color: oklch(80.1% 0.175 122.3);
Tailwind
colors: {
  custom: {
    50: '#c8dd79',
    500: '#abcf38',
    950: '#000000',
  },
}
SCSS
$custom: #abcf38;
$custom-light: #c8dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#abcf38",
  "rgb": {
    "r": 171,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 74.305,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80127,
    "c": 0.17509,
    "h": 122.3
  },
  "luminance": 0.53569
}

Semantic roles & 50–950 ramp

primary
#ABCF38
secondary
#42317A
accent
#44E46A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #ABCF38

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

Preview Lab → · Contrast checker → · Palette generator →

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