#A5C842#A5C842

#A5C842 is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 78.2% C 0.163 H 122.8°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#A5C842
RGBrgb(165, 200, 66)
HSLhsl(76, 55%, 52%)
HSVhsv(76, 67%, 78%)
CMYKcmyk(17.5%, 0%, 67%, 21.6%)
CIE-LABlab(75.89, -30.47, 60.48)
CIE-LCHlch(75.89, 67.72, 116.74°)
OKLaboklab(78.17% -0.0883 0.1368)
OKLCHoklch(78.17% 0.163 122.8)
XYZxyz(37.1551, 49.7011, 12.7890)
Luminance0.4970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C842 #6542C8
analogous
#C8A842 #A5C842 #62C842
triadic
#A5C842 #42A5C8 #C842A5
tetradic
#A5C842 #42C8A8 #6542C8 #C84262
square
#A5C842 #42C8A8 #6542C8 #C84262
split-complementary
#A5C842 #4262C8 #A842C8
monochromatic
#5B6F20 #819F2E #A5C842 #BCD671 #D2E4A1

Accessibility & contrast

On white

1.92
#A5C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#A5C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C842
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C842#FFFFFF#000000##000000
##A5C8421.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC2F
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#ADBEAD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a5c842;
/* rgb */ color: rgb(165, 200, 66);
/* oklch */ color: oklch(78.2% 0.163 122.8);
Tailwind
colors: {
  custom: {
    50: '#c3d87d',
    500: '#a5c842',
    950: '#000000',
  },
}
SCSS
$custom: #a5c842;
$custom-light: #c3d87d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c842",
  "rgb": {
    "r": 165,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 75.672,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.7817,
    "c": 0.16283,
    "h": 122.8
  },
  "luminance": 0.49701
}

Semantic roles & 50–950 ramp

primary
#A5C842
secondary
#A596D0
accent
#4ADE70
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A5C842

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

Preview Lab → · Contrast checker → · Palette generator →

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