#ABCA38#ABCA38

#ABCA38 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 79.0% C 0.169 H 121.0°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#ABCA38
RGBrgb(171, 202, 56)
HSLhsl(73, 58%, 51%)
HSVhsv(73, 72%, 79%)
CMYKcmyk(15.3%, 0%, 72.3%, 20.8%)
CIE-LABlab(76.79, -29.59, 65.21)
CIE-LCHlch(76.79, 71.61, 114.41°)
OKLaboklab(78.98% -0.0871 0.1451)
OKLCHoklch(78.98% 0.169 121)
XYZxyz(38.6296, 51.1846, 11.5852)
Luminance0.5119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCA38 #5738CA
analogous
#CAA038 #ABCA38 #62CA38
triadic
#ABCA38 #38ABCA #CA38AB
tetradic
#ABCA38 #38CAA0 #5738CA #CA3862
square
#ABCA38 #38CAA0 #5738CA #CA3862
split-complementary
#ABCA38 #3862CA #A038CA
monochromatic
#5A6B1D #839B29 #ABCA38 #BFD768 #D4E499

Accessibility & contrast

On white

1.87
#ABCA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#ABCA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCA38
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCA38#FFFFFF#000000##000000
##ABCA381.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1C
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#B4BFAE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #abca38;
/* rgb */ color: rgb(171, 202, 56);
/* oklch */ color: oklch(79.0% 0.169 121.0);
Tailwind
colors: {
  custom: {
    50: '#c8da78',
    500: '#abca38',
    950: '#000000',
  },
}
SCSS
$custom: #abca38;
$custom-light: #c8da78;
$custom-dark: #000000;
JSON
{
  "hex": "#abca38",
  "rgb": {
    "r": 171,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 72.74,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78982,
    "c": 0.16924,
    "h": 121
  },
  "luminance": 0.51185
}

Semantic roles & 50–950 ramp

primary
#ABCA38
secondary
#403175
accent
#47E167
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#13140A
muted
#83837D

Preview Lab

Preview with #ABCA38

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

Preview Lab → · Contrast checker → · Palette generator →

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