#A5C042#A5C042

#A5C042 is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 76.3% C 0.153 H 120.5°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#A5C042
RGBrgb(165, 192, 66)
HSLhsl(73, 50%, 51%)
HSVhsv(73, 66%, 75%)
CMYKcmyk(14.1%, 0%, 65.6%, 24.7%)
CIE-LABlab(73.61, -26.65, 58.11)
CIE-LCHlch(73.61, 63.93, 114.64°)
OKLaboklab(76.33% -0.0778 0.1318)
OKLCHoklch(76.33% 0.153 120.5)
XYZxyz(35.3506, 46.0920, 12.1875)
Luminance0.4609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C042 #5D42C0
analogous
#C09C42 #A5C042 #66C042
triadic
#A5C042 #42A5C0 #C042A5
tetradic
#A5C042 #42C09C #5D42C0 #C04266
square
#A5C042 #42C09C #5D42C0 #C04266
split-complementary
#A5C042 #4266C0 #9C42C0
monochromatic
#576622 #7F9431 #A5C042 #BBCF70 #D1DF9E

Accessibility & contrast

On white

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

On black

10.22
#A5C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C042
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C042#FFFFFF#000000##000000
##A5C0421.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB531
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#AEB6A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #a5c042;
/* rgb */ color: rgb(165, 192, 66);
/* oklch */ color: oklch(76.3% 0.153 120.5);
Tailwind
colors: {
  custom: {
    50: '#c3d37d',
    500: '#a5c042',
    950: '#000000',
  },
}
SCSS
$custom: #a5c042;
$custom-light: #c3d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c042",
  "rgb": {
    "r": 165,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 72.857,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76332,
    "c": 0.15304,
    "h": 120.5
  },
  "luminance": 0.46092
}

Semantic roles & 50–950 ramp

primary
#A5C042
secondary
#9F93CB
accent
#4EDA6C
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A5C042

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

Preview Lab → · Contrast checker → · Palette generator →

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