#A5CA31#A5CA31

#A5CA31 is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.5% C 0.176 H 122.7°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#A5CA31
RGBrgb(165, 202, 49)
HSLhsl(75, 61%, 49%)
HSVhsv(75, 76%, 79%)
CMYKcmyk(18.3%, 0%, 75.7%, 20.8%)
CIE-LABlab(76.35, -32.35, 66.97)
CIE-LCHlch(76.35, 74.38, 115.78°)
OKLaboklab(78.51% -0.095 0.1478)
OKLCHoklch(78.51% 0.176 122.7)
XYZxyz(37.1925, 50.4620, 10.6859)
Luminance0.5046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CA31 #5631CA
analogous
#CAA331 #A5CA31 #59CA31
triadic
#A5CA31 #31A5CA #CA31A5
tetradic
#A5CA31 #31CAA3 #5631CA #CA3159
square
#A5CA31 #31CAA3 #5631CA #CA3159
split-complementary
#A5CA31 #3159CA #A331CA
monochromatic
#556719 #7D9925 #A5CA31 #BBD860 #D0E491

Accessibility & contrast

On white

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

On black

11.09
#A5CA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CA31
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CA31#FFFFFF#000000##000000
##A5CA311.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5ca31;
/* rgb */ color: rgb(165, 202, 49);
/* oklch */ color: oklch(78.5% 0.176 122.7);
Tailwind
colors: {
  custom: {
    50: '#c4da75',
    500: '#a5ca31',
    950: '#000000',
  },
}
SCSS
$custom: #a5ca31;
$custom-light: #c4da75;
$custom-dark: #000000;
JSON
{
  "hex": "#a5ca31",
  "rgb": {
    "r": 165,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 74.51,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78513,
    "c": 0.17568,
    "h": 122.7
  },
  "luminance": 0.50462
}

Semantic roles & 50–950 ramp

primary
#A5CA31
secondary
#3E2E72
accent
#44E46B
background
#FEFEFB
surface
#FAFBF1
border
#D3D4CB
text
#131409
muted
#83837D

Preview Lab

Preview with #A5CA31

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

Preview Lab → · Contrast checker → · Palette generator →

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