#ABC938#ABC938

#ABC938 is a light, vivid yellow-green. Relative luminance 0.507; OKLCH L 78.8% C 0.168 H 120.7°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#ABC938
RGBrgb(171, 201, 56)
HSLhsl(72, 57%, 50%)
HSVhsv(72, 72%, 79%)
CMYKcmyk(14.9%, 0%, 72.1%, 21.2%)
CIE-LABlab(76.51, -29.12, 64.94)
CIE-LCHlch(76.51, 71.17, 114.15°)
OKLaboklab(78.75% -0.0858 0.1445)
OKLCHoklch(78.75% 0.168 120.7)
XYZxyz(38.3957, 50.7168, 11.5072)
Luminance0.5072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC938 #5638C9
analogous
#C99F38 #ABC938 #62C938
triadic
#ABC938 #38ABC9 #C938AB
tetradic
#ABC938 #38C99F #5638C9 #C93862
square
#ABC938 #38C99F #5638C9 #C93862
split-complementary
#ABC938 #3862C9 #9F38C9
monochromatic
#5A6A1D #839A2A #ABC938 #BFD668 #D4E398

Accessibility & contrast

On white

1.88
#ABC938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#ABC938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC938
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC938#FFFFFF#000000##000000
##ABC9381.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1C
Deuteranopia (green-blind)
#D2BD44
Tritanopia (blue-blind)
#B5BEAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #abc938;
/* rgb */ color: rgb(171, 201, 56);
/* oklch */ color: oklch(78.8% 0.168 120.7);
Tailwind
colors: {
  custom: {
    50: '#c8d978',
    500: '#abc938',
    950: '#000000',
  },
}
SCSS
$custom: #abc938;
$custom-light: #c8d978;
$custom-dark: #000000;
JSON
{
  "hex": "#abc938",
  "rgb": {
    "r": 171,
    "g": 201,
    "b": 56
  },
  "hsl": {
    "h": 72.414,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78753,
    "c": 0.16807,
    "h": 120.7
  },
  "luminance": 0.50717
}

Semantic roles & 50–950 ramp

primary
#ABC938
secondary
#3F3174
accent
#47E167
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#13140A
muted
#83837D

Preview Lab

Preview with #ABC938

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

Preview Lab → · Contrast checker → · Palette generator →

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