#A5CB40#A5CB40

#A5CB40 is a light, vivid yellow-green. Relative luminance 0.511; OKLCH L 78.8% C 0.168 H 123.5°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#A5CB40
RGBrgb(165, 203, 64)
HSLhsl(76, 57%, 52%)
HSVhsv(76, 68%, 80%)
CMYKcmyk(18.7%, 0%, 68.5%, 20.4%)
CIE-LABlab(76.73, -32.00, 62.11)
CIE-LCHlch(76.73, 69.87, 117.26°)
OKLaboklab(78.85% -0.0927 0.14)
OKLCHoklch(78.85% 0.168 123.5)
XYZxyz(37.7988, 51.0811, 12.7178)
Luminance0.5108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CB40 #6640CB
analogous
#CBAC40 #A5CB40 #5FCB40
triadic
#A5CB40 #40A5CB #CB40A5
tetradic
#A5CB40 #40CBAC #6640CB #CB405F
square
#A5CB40 #40CBAC #6640CB #CB405F
split-complementary
#A5CB40 #405FCB #AC40CB
monochromatic
#5B721F #82A22C #A5CB40 #BCD870 #D2E5A0

Accessibility & contrast

On white

1.87
#A5CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#A5CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CB40
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CB40#FFFFFF#000000##000000
##A5CB401.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE2B
Deuteranopia (green-blind)
#D1BD4B
Tritanopia (blue-blind)
#ADC1AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a5cb40;
/* rgb */ color: rgb(165, 203, 64);
/* oklch */ color: oklch(78.8% 0.168 123.5);
Tailwind
colors: {
  custom: {
    50: '#c3db7d',
    500: '#a5cb40',
    950: '#000000',
  },
}
SCSS
$custom: #a5cb40;
$custom-light: #c3db7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cb40",
  "rgb": {
    "r": 165,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 76.403,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78846,
    "c": 0.16788,
    "h": 123.5
  },
  "luminance": 0.51081
}

Semantic roles & 50–950 ramp

primary
#A5CB40
secondary
#48357B
accent
#47E071
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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