#A5CC2D#A5CC2D

#A5CC2D is a light, vivid yellow-green. Relative luminance 0.514; OKLCH L 79.0% C 0.180 H 123.1°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#A5CC2D
RGBrgb(165, 204, 45)
HSLhsl(75, 64%, 49%)
HSVhsv(75, 78%, 80%)
CMYKcmyk(19.1%, 0%, 77.9%, 20%)
CIE-LABlab(76.91, -33.46, 68.70)
CIE-LCHlch(76.91, 76.42, 115.97°)
OKLaboklab(78.95% -0.0983 0.1508)
OKLCHoklch(78.95% 0.18 123.1)
XYZxyz(37.5841, 51.3743, 10.4183)
Luminance0.5138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CC2D #542DCC
analogous
#CCA42D #A5CC2D #56CC2D
triadic
#A5CC2D #2DA5CC #CC2DA5
tetradic
#A5CC2D #2DCCA4 #542DCC #CC2D56
square
#A5CC2D #2DCCA4 #542DCC #CC2D56
split-complementary
#A5CC2D #2D56CC #A42DCC
monochromatic
#546817 #7C9A22 #A5CC2D #BCDB5B #D0E68D

Accessibility & contrast

On white

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

On black

11.28
#A5CC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CC2D
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CC2D#FFFFFF#000000##000000
##A5CC2D1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D3BE3D
Tritanopia (blue-blind)
#AEC2AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a5cc2d;
/* rgb */ color: rgb(165, 204, 45);
/* oklch */ color: oklch(79.0% 0.180 123.1);
Tailwind
colors: {
  custom: {
    50: '#c4db73',
    500: '#a5cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #a5cc2d;
$custom-light: #c4db73;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cc2d",
  "rgb": {
    "r": 165,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 74.717,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78954,
    "c": 0.18001,
    "h": 123.1
  },
  "luminance": 0.51375
}

Semantic roles & 50–950 ramp

primary
#A5CC2D
secondary
#3D2B72
accent
#41E76A
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A5CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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