#ABCD38#ABCD38

#ABCD38 is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.7% C 0.173 H 121.8°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#ABCD38
RGBrgb(171, 205, 56)
HSLhsl(74, 60%, 51%)
HSVhsv(74, 73%, 80%)
CMYKcmyk(16.6%, 0%, 72.7%, 19.6%)
CIE-LABlab(77.64, -31.01, 66.04)
CIE-LCHlch(77.64, 72.95, 115.15°)
OKLaboklab(79.67% -0.091 0.1468)
OKLCHoklch(79.67% 0.173 121.8)
XYZxyz(39.3403, 52.6060, 11.8221)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABCD38 #5A38CD
analogous
#CDA438 #ABCD38 #60CD38
triadic
#ABCD38 #38ABCD #CD38AB
tetradic
#ABCD38 #38CDA4 #5A38CD #CD3860
square
#ABCD38 #38CDA4 #5A38CD #CD3860
split-complementary
#ABCD38 #3860CD #A438CD
monochromatic
#5C6F1C #84A028 #ABCD38 #C0D969 #D4E69A

Accessibility & contrast

On white

1.82
#ABCD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#ABCD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABCD38
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABCD38#FFFFFF#000000##000000
##ABCD381.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C11B
Deuteranopia (green-blind)
#D5C045
Tritanopia (blue-blind)
#B4C2B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #abcd38;
/* rgb */ color: rgb(171, 205, 56);
/* oklch */ color: oklch(79.7% 0.173 121.8);
Tailwind
colors: {
  custom: {
    50: '#c8dc79',
    500: '#abcd38',
    950: '#000000',
  },
}
SCSS
$custom: #abcd38;
$custom-light: #c8dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#abcd38",
  "rgb": {
    "r": 171,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 73.691,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79668,
    "c": 0.17274,
    "h": 121.8
  },
  "luminance": 0.52606
}

Semantic roles & 50–950 ramp

primary
#ABCD38
secondary
#413178
accent
#45E369
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #ABCD38

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

Preview Lab → · Contrast checker → · Palette generator →

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