#A5CB3A#A5CB3A

#A5CB3A is a light, vivid yellow-green. Relative luminance 0.510; OKLCH L 78.8% C 0.172 H 123.3°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#A5CB3A
RGBrgb(165, 203, 58)
HSLhsl(76, 58%, 51%)
HSVhsv(76, 71%, 80%)
CMYKcmyk(18.7%, 0%, 71.4%, 20.4%)
CIE-LABlab(76.69, -32.36, 64.28)
CIE-LCHlch(76.69, 71.96, 116.72°)
OKLaboklab(78.8% -0.0942 0.1436)
OKLCHoklch(78.8% 0.172 123.3)
XYZxyz(37.6371, 51.0165, 11.8665)
Luminance0.5102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5CB3A #603ACB
analogous
#CBA83A #A5CB3A #5CCB3A
triadic
#A5CB3A #3AA5CB #CB3AA5
tetradic
#A5CB3A #3ACBA8 #603ACB #CB3A5C
square
#A5CB3A #3ACBA8 #603ACB #CB3A5C
split-complementary
#A5CB3A #3A5CCB #A83ACB
monochromatic
#596E1D #809E2A #A5CB3A #BBD86A #D1E59B

Accessibility & contrast

On white

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

On black

11.20
#A5CB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5CB3A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5CB3A#FFFFFF#000000##000000
##A5CB3A1.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5cb3a;
/* rgb */ color: rgb(165, 203, 58);
/* oklch */ color: oklch(78.8% 0.172 123.3);
Tailwind
colors: {
  custom: {
    50: '#c3db7a',
    500: '#a5cb3a',
    950: '#000000',
  },
}
SCSS
$custom: #a5cb3a;
$custom-light: #c3db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5cb3a",
  "rgb": {
    "r": 165,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 75.724,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78802,
    "c": 0.17174,
    "h": 123.3
  },
  "luminance": 0.51017
}

Semantic roles & 50–950 ramp

primary
#A5CB3A
secondary
#443277
accent
#46E16F
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A5CB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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