#A5CA21#A5CA21

#A5CA21 is a light, vivid yellow-green. Relative luminance 0.503; OKLCH L 78.4% C 0.183 H 122.3°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#A5CA21
RGBrgb(165, 202, 33)
HSLhsl(73, 72%, 46%)
HSVhsv(73, 84%, 79%)
CMYKcmyk(18.3%, 0%, 83.7%, 20.8%)
CIE-LABlab(76.28, -32.98, 71.31)
CIE-LCHlch(76.28, 78.57, 114.82°)
OKLaboklab(78.44% -0.0977 0.1545)
OKLCHoklch(78.44% 0.183 122.3)
XYZxyz(36.9127, 50.3501, 9.2124)
Luminance0.5035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CA21 #4621CA
analogous
#CA9A21 #A5CA21 #50CA21
triadic
#A5CA21 #21A5CA #CA21A5
tetradic
#A5CA21 #21CA9A #4621CA #CA2150
square
#A5CA21 #21CA9A #4621CA #CA2150
split-complementary
#A5CA21 #2150CA #9A21CA
monochromatic
#4F6110 #7A9518 #A5CA21 #BFE147 #D2EA7C

Accessibility & contrast

On white

1.90
#A5CA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#A5CA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CA21
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CA21#FFFFFF#000000##000000
##A5CA211.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD00
Deuteranopia (green-blind)
#D2BC35
Tritanopia (blue-blind)
#AEBFAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a5ca21;
/* rgb */ color: rgb(165, 202, 33);
/* oklch */ color: oklch(78.4% 0.183 122.3);
Tailwind
colors: {
  custom: {
    50: '#c4da6f',
    500: '#a5ca21',
    950: '#000000',
  },
}
SCSS
$custom: #a5ca21;
$custom-light: #c4da6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ca21",
  "rgb": {
    "r": 165,
    "g": 202,
    "b": 33
  },
  "hsl": {
    "h": 73.136,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78436,
    "c": 0.18279,
    "h": 122.3
  },
  "luminance": 0.5035
}

Semantic roles & 50–950 ramp

primary
#A5CA21
secondary
#33246C
accent
#39EF61
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131408
muted
#83837D

Preview Lab

Preview with #A5CA21

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

Preview Lab → · Contrast checker → · Palette generator →

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