#A2CA31#A2CA31

#A2CA31 is a light, vivid yellow-green. Relative luminance 0.501; OKLCH L 78.3% C 0.177 H 123.6°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#A2CA31
RGBrgb(162, 202, 49)
HSLhsl(76, 61%, 49%)
HSVhsv(76, 76%, 79%)
CMYKcmyk(19.8%, 0%, 75.7%, 20.8%)
CIE-LABlab(76.16, -33.55, 66.72)
CIE-LCHlch(76.16, 74.68, 116.69°)
OKLaboklab(78.31% -0.0981 0.1474)
OKLCHoklch(78.31% 0.177 123.6)
XYZxyz(36.5756, 50.1439, 10.6570)
Luminance0.5014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CA31 #5931CA
analogous
#CAA631 #A2CA31 #56CA31
triadic
#A2CA31 #31A2CA #CA31A2
tetradic
#A2CA31 #31CAA6 #5931CA #CA3156
square
#A2CA31 #31CAA6 #5931CA #CA3156
split-complementary
#A2CA31 #3156CA #A631CA
monochromatic
#536719 #7B9925 #A2CA31 #B9D860 #CFE491

Accessibility & contrast

On white

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

On black

11.03
#A2CA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CA31
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CA31#FFFFFF#000000##000000
##A2CA311.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD08
Deuteranopia (green-blind)
#D0BB40
Tritanopia (blue-blind)
#AAC0AD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #a2ca31;
/* rgb */ color: rgb(162, 202, 49);
/* oklch */ color: oklch(78.3% 0.177 123.6);
Tailwind
colors: {
  custom: {
    50: '#c1da75',
    500: '#a2ca31',
    950: '#000000',
  },
}
SCSS
$custom: #a2ca31;
$custom-light: #c1da75;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ca31",
  "rgb": {
    "r": 162,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 75.686,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78306,
    "c": 0.177,
    "h": 123.6
  },
  "luminance": 0.50144
}

Semantic roles & 50–950 ramp

primary
#A2CA31
secondary
#3F2E72
accent
#44E46E
background
#FDFEFB
surface
#F9FBF1
border
#D2D4CB
text
#131409
muted
#82837D

Preview Lab

Preview with #A2CA31

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

Preview Lab → · Contrast checker → · Palette generator →

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