#ABC340#ABC340

#ABC340 is a light, vivid yellow-green. Relative luminance 0.481; OKLCH L 77.4% C 0.156 H 119.2°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#ABC340
RGBrgb(171, 195, 64)
HSLhsl(71, 52%, 51%)
HSVhsv(71, 67%, 76%)
CMYKcmyk(12.3%, 0%, 67.2%, 23.5%)
CIE-LABlab(74.86, -25.79, 60.33)
CIE-LCHlch(74.86, 65.61, 113.14°)
OKLaboklab(77.44% -0.0759 0.1361)
OKLCHoklch(77.44% 0.156 119.2)
XYZxyz(37.2358, 48.0585, 12.1641)
Luminance0.4806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABC340 #5840C3
analogous
#C39940 #ABC340 #69C340
triadic
#ABC340 #40ABC3 #C340AB
tetradic
#ABC340 #40C399 #5840C3 #C34069
square
#ABC340 #40C399 #5840C3 #C34069
split-complementary
#ABC340 #4069C3 #9940C3
monochromatic
#5B6821 #84972F #ABC340 #BFD26F #D4E09D

Accessibility & contrast

On white

1.98
#ABC340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#ABC340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABC340
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABC340#FFFFFF#000000##000000
##ABC3401.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#CDB94A
Tritanopia (blue-blind)
#B5B9A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #abc340;
/* rgb */ color: rgb(171, 195, 64);
/* oklch */ color: oklch(77.4% 0.156 119.2);
Tailwind
colors: {
  custom: {
    50: '#c7d57c',
    500: '#abc340',
    950: '#000000',
  },
}
SCSS
$custom: #abc340;
$custom-light: #c7d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#abc340",
  "rgb": {
    "r": 171,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 70.992,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77445,
    "c": 0.15581,
    "h": 119.2
  },
  "luminance": 0.48058
}

Semantic roles & 50–950 ramp

primary
#ABC340
secondary
#9D92CC
accent
#4CDC66
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #ABC340

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

Preview Lab → · Contrast checker → · Palette generator →

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