#A5CA40#A5CA40

#A5CA40 is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.6% C 0.167 H 123.3°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#A5CA40
RGBrgb(165, 202, 64)
HSLhsl(76, 57%, 52%)
HSVhsv(76, 68%, 79%)
CMYKcmyk(18.3%, 0%, 68.3%, 20.8%)
CIE-LABlab(76.44, -31.53, 61.82)
CIE-LCHlch(76.44, 69.40, 117.02°)
OKLaboklab(78.61% -0.0914 0.1393)
OKLCHoklch(78.61% 0.167 123.3)
XYZxyz(37.5634, 50.6103, 12.6393)
Luminance0.5061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CA40 #6540CA
analogous
#CAAA40 #A5CA40 #60CA40
triadic
#A5CA40 #40A5CA #CA40A5
tetradic
#A5CA40 #40CAAA #6540CA #CA4060
square
#A5CA40 #40CAAA #6540CA #CA4060
split-complementary
#A5CA40 #4060CA #AA40CA
monochromatic
#5B701F #81A02C #A5CA40 #BCD770 #D2E5A0

Accessibility & contrast

On white

1.89
#A5CA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#A5CA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CA40
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CA40#FFFFFF#000000##000000
##A5CA401.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE2B
Deuteranopia (green-blind)
#D1BC4B
Tritanopia (blue-blind)
#ADC0AE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a5ca40;
/* rgb */ color: rgb(165, 202, 64);
/* oklch */ color: oklch(78.6% 0.167 123.3);
Tailwind
colors: {
  custom: {
    50: '#c3da7d',
    500: '#a5ca40',
    950: '#000000',
  },
}
SCSS
$custom: #a5ca40;
$custom-light: #c3da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ca40",
  "rgb": {
    "r": 165,
    "g": 202,
    "b": 64
  },
  "hsl": {
    "h": 76.087,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78615,
    "c": 0.16666,
    "h": 123.3
  },
  "luminance": 0.50611
}

Semantic roles & 50–950 ramp

primary
#A5CA40
secondary
#47357A
accent
#48E071
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13140A
muted
#82837D

Preview Lab

Preview with #A5CA40

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

Preview Lab → · Contrast checker → · Palette generator →

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