#A5CE40#A5CE40

#A5CE40 is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.5% C 0.172 H 124.3°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#A5CE40
RGBrgb(165, 206, 64)
HSLhsl(77, 59%, 53%)
HSVhsv(77, 69%, 81%)
CMYKcmyk(19.9%, 0%, 68.9%, 19.2%)
CIE-LABlab(77.59, -33.39, 62.98)
CIE-LCHlch(77.59, 71.29, 117.93°)
OKLaboklab(79.54% -0.0966 0.1418)
OKLCHoklch(79.54% 0.172 124.3)
XYZxyz(38.5141, 52.5118, 12.9562)
Luminance0.5251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CE40 #6940CE
analogous
#CEB040 #A5CE40 #5ECE40
triadic
#A5CE40 #40A5CE #CE40A5
tetradic
#A5CE40 #40CEB0 #6940CE #CE405E
square
#A5CE40 #40CEB0 #6940CE #CE405E
split-complementary
#A5CE40 #405ECE #B040CE
monochromatic
#5C751E #82A62B #A5CE40 #BCDA71 #D3E7A1

Accessibility & contrast

On white

1.83
#A5CE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#A5CE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CE40
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CE40#FFFFFF#000000##000000
##A5CE401.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D4BF4C
Tritanopia (blue-blind)
#ADC4B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a5ce40;
/* rgb */ color: rgb(165, 206, 64);
/* oklch */ color: oklch(79.5% 0.172 124.3);
Tailwind
colors: {
  custom: {
    50: '#c3dd7d',
    500: '#a5ce40',
    950: '#000000',
  },
}
SCSS
$custom: #a5ce40;
$custom-light: #c3dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ce40",
  "rgb": {
    "r": 165,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 77.324,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79539,
    "c": 0.17154,
    "h": 124.3
  },
  "luminance": 0.52512
}

Semantic roles & 50–950 ramp

primary
#A5CE40
secondary
#4A347E
accent
#45E273
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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