#A5C242#A5C242

#A5C242 is a light, vivid yellow-green. Relative luminance 0.470; OKLCH L 76.8% C 0.155 H 121.1°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#A5C242
RGBrgb(165, 194, 66)
HSLhsl(74, 51%, 51%)
HSVhsv(74, 66%, 76%)
CMYKcmyk(14.9%, 0%, 66%, 23.9%)
CIE-LABlab(74.17, -27.62, 58.70)
CIE-LCHlch(74.17, 64.87, 115.19°)
OKLaboklab(76.79% -0.0804 0.1331)
OKLCHoklch(76.79% 0.155 121.1)
XYZxyz(35.7927, 46.9763, 12.3349)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C242 #5F42C2
analogous
#C29F42 #A5C242 #65C242
triadic
#A5C242 #42A5C2 #C242A5
tetradic
#A5C242 #42C29F #5F42C2 #C24265
square
#A5C242 #42C29F #5F42C2 #C24265
split-complementary
#A5C242 #4265C2 #9F42C2
monochromatic
#586822 #7F9631 #A5C242 #BBD170 #D1E09F

Accessibility & contrast

On white

2.02
#A5C242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#A5C242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C242
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C242#FFFFFF#000000##000000
##A5C2421.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#AEB8A8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a5c242;
/* rgb */ color: rgb(165, 194, 66);
/* oklch */ color: oklch(76.8% 0.155 121.1);
Tailwind
colors: {
  custom: {
    50: '#c3d47d',
    500: '#a5c242',
    950: '#000000',
  },
}
SCSS
$custom: #a5c242;
$custom-light: #c3d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c242",
  "rgb": {
    "r": 165,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 73.594,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76791,
    "c": 0.15549,
    "h": 121.1
  },
  "luminance": 0.46976
}

Semantic roles & 50–950 ramp

primary
#A5C242
secondary
#A094CC
accent
#4DDB6D
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A5C242

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

Preview Lab → · Contrast checker → · Palette generator →

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