#A5CC42#A5CC42

#A5CC42 is a light, vivid yellow-green. Relative luminance 0.516; OKLCH L 79.1% C 0.168 H 123.9°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#A5CC42
RGBrgb(165, 204, 66)
HSLhsl(77, 58%, 53%)
HSVhsv(77, 68%, 80%)
CMYKcmyk(19.1%, 0%, 67.6%, 20%)
CIE-LABlab(77.03, -32.34, 61.65)
CIE-LCHlch(77.03, 69.62, 117.68°)
OKLaboklab(79.09% -0.0935 0.1393)
OKLCHoklch(79.09% 0.168 123.9)
XYZxyz(38.0936, 51.5781, 13.1019)
Luminance0.5158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CC42 #6942CC
analogous
#CCAE42 #A5CC42 #60CC42
triadic
#A5CC42 #42A5CC #CC42A5
tetradic
#A5CC42 #42CCAE #6942CC #CC4260
square
#A5CC42 #42CCAE #6942CC #CC4260
split-complementary
#A5CC42 #4260CC #AE42CC
monochromatic
#5C741F #82A42C #A5CC42 #BCD972 #D3E6A2

Accessibility & contrast

On white

1.86
#A5CC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#A5CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CC42
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CC42#FFFFFF#000000##000000
##A5CC421.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#ADC2B0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a5cc42;
/* rgb */ color: rgb(165, 204, 66);
/* oklch */ color: oklch(79.1% 0.168 123.9);
Tailwind
colors: {
  custom: {
    50: '#c3db7e',
    500: '#a5cc42',
    950: '#000000',
  },
}
SCSS
$custom: #a5cc42;
$custom-light: #c3db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cc42",
  "rgb": {
    "r": 165,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 76.957,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79093,
    "c": 0.16775,
    "h": 123.9
  },
  "luminance": 0.51578
}

Semantic roles & 50–950 ramp

primary
#A5CC42
secondary
#4A357D
accent
#47E172
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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