#A5C02B#A5C02B

#A5C02B is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 76.2% C 0.167 H 119.8°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#A5C02B
RGBrgb(165, 192, 43)
HSLhsl(71, 63%, 46%)
HSVhsv(71, 78%, 75%)
CMYKcmyk(14.1%, 0%, 77.6%, 24.7%)
CIE-LABlab(73.46, -27.91, 66.15)
CIE-LCHlch(73.46, 71.80, 112.87°)
OKLaboklab(76.17% -0.0832 0.1451)
OKLCHoklch(76.17% 0.167 119.8)
XYZxyz(34.8034, 45.8732, 9.3060)
Luminance0.4587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C02B #462BC0
analogous
#C0902B #A5C02B #5BC02B
triadic
#A5C02B #2BA5C0 #C02BA5
tetradic
#A5C02B #2BC090 #462BC0 #C02B5B
square
#A5C02B #2BC090 #462BC0 #C02B5B
split-complementary
#A5C02B #2B5BC0 #902BC0
monochromatic
#4F5C15 #7A8E20 #A5C02B #BFD850 #D2E382

Accessibility & contrast

On white

2.06
#A5C02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#A5C02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C02B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C02B#FFFFFF#000000##000000
##A5C02B1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#C9B539
Tritanopia (blue-blind)
#AFB5A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a5c02b;
/* rgb */ color: rgb(165, 192, 43);
/* oklch */ color: oklch(76.2% 0.167 119.8);
Tailwind
colors: {
  custom: {
    50: '#c3d371',
    500: '#a5c02b',
    950: '#000000',
  },
}
SCSS
$custom: #a5c02b;
$custom-light: #c3d371;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c02b",
  "rgb": {
    "r": 165,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 70.872,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76172,
    "c": 0.16724,
    "h": 119.8
  },
  "luminance": 0.45873
}

Semantic roles & 50–950 ramp

primary
#A5C02B
secondary
#897BCC
accent
#41E65F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #A5C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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