#A5C142#A5C142

#A5C142 is a light, vivid yellow-green. Relative luminance 0.465; OKLCH L 76.6% C 0.154 H 120.8°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#A5C142
RGBrgb(165, 193, 66)
HSLhsl(73, 51%, 51%)
HSVhsv(73, 66%, 76%)
CMYKcmyk(14.5%, 0%, 65.8%, 24.3%)
CIE-LABlab(73.89, -27.14, 58.40)
CIE-LCHlch(73.89, 64.40, 114.92°)
OKLaboklab(76.56% -0.0791 0.1324)
OKLCHoklch(76.56% 0.154 120.8)
XYZxyz(35.5709, 46.5327, 12.2610)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C142 #5E42C1
analogous
#C19D42 #A5C142 #65C142
triadic
#A5C142 #42A5C1 #C142A5
tetradic
#A5C142 #42C19D #5E42C1 #C14265
square
#A5C142 #42C19D #5E42C1 #C14265
split-complementary
#A5C142 #4265C1 #9D42C1
monochromatic
#586722 #7F9531 #A5C142 #BBD070 #D1DF9E

Accessibility & contrast

On white

2.04
#A5C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#A5C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C142
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C142#FFFFFF#000000##000000
##A5C1421.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB631
Deuteranopia (green-blind)
#C9B64B
Tritanopia (blue-blind)
#AEB7A7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a5c142;
/* rgb */ color: rgb(165, 193, 66);
/* oklch */ color: oklch(76.6% 0.154 120.8);
Tailwind
colors: {
  custom: {
    50: '#c3d37d',
    500: '#a5c142',
    950: '#000000',
  },
}
SCSS
$custom: #a5c142;
$custom-light: #c3d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c142",
  "rgb": {
    "r": 165,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 73.228,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76561,
    "c": 0.15426,
    "h": 120.8
  },
  "luminance": 0.46533
}

Semantic roles & 50–950 ramp

primary
#A5C142
secondary
#A093CC
accent
#4EDA6D
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C

Preview Lab

Preview with #A5C142

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

Preview Lab → · Contrast checker → · Palette generator →

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