#ABC838#ABC838

#ABC838 is a light, vivid yellow-green. Relative luminance 0.503; OKLCH L 78.5% C 0.167 H 120.4°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#ABC838
RGBrgb(171, 200, 56)
HSLhsl(72, 57%, 50%)
HSVhsv(72, 72%, 78%)
CMYKcmyk(14.5%, 0%, 72%, 21.6%)
CIE-LABlab(76.22, -28.65, 64.66)
CIE-LCHlch(76.22, 70.72, 113.89°)
OKLaboklab(78.53% -0.0845 0.1439)
OKLCHoklch(78.53% 0.167 120.4)
XYZxyz(38.1633, 50.2521, 11.4297)
Luminance0.5025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC838 #5538C8
analogous
#C89D38 #ABC838 #63C838
triadic
#ABC838 #38ABC8 #C838AB
tetradic
#ABC838 #38C89D #5538C8 #C83863
square
#ABC838 #38C89D #5538C8 #C83863
split-complementary
#ABC838 #3863C8 #9D38C8
monochromatic
#59691D #82992A #ABC838 #BFD568 #D3E398

Accessibility & contrast

On white

1.90
#ABC838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#ABC838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC838
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC838#FFFFFF#000000##000000
##ABC8381.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1D
Deuteranopia (green-blind)
#D1BC44
Tritanopia (blue-blind)
#B5BDAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #abc838;
/* rgb */ color: rgb(171, 200, 56);
/* oklch */ color: oklch(78.5% 0.167 120.4);
Tailwind
colors: {
  custom: {
    50: '#c7d878',
    500: '#abc838',
    950: '#000000',
  },
}
SCSS
$custom: #abc838;
$custom-light: #c7d878;
$custom-dark: #000000;
JSON
{
  "hex": "#abc838",
  "rgb": {
    "r": 171,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 72.083,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78525,
    "c": 0.16691,
    "h": 120.4
  },
  "luminance": 0.50252
}

Semantic roles & 50–950 ramp

primary
#ABC838
secondary
#3F3273
accent
#48E066
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#13140A
muted
#83837D

Preview Lab

Preview with #ABC838

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

Preview Lab → · Contrast checker → · Palette generator →

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