#A5C640#A5C640

#A5C640 is a light, vivid yellow-green. Relative luminance 0.488; OKLCH L 77.7% C 0.162 H 122.2°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#A5C640
RGBrgb(165, 198, 64)
HSLhsl(75, 54%, 51%)
HSVhsv(75, 68%, 78%)
CMYKcmyk(16.7%, 0%, 67.7%, 22.4%)
CIE-LABlab(75.30, -29.65, 60.65)
CIE-LCHlch(75.30, 67.51, 116.05°)
OKLaboklab(77.69% -0.0862 0.1369)
OKLCHoklch(77.69% 0.162 122.2)
XYZxyz(36.6370, 48.7576, 12.3305)
Luminance0.4876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C640 #6140C6
analogous
#C6A440 #A5C640 #62C640
triadic
#A5C640 #40A5C6 #C640A5
tetradic
#A5C640 #40C6A4 #6140C6 #C64062
square
#A5C640 #40C6A4 #6140C6 #C64062
split-complementary
#A5C640 #4062C6 #A440C6
monochromatic
#596C20 #809B2E #A5C640 #BBD46F #D1E29E

Accessibility & contrast

On white

1.95
#A5C640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#A5C640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C640
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C640#FFFFFF#000000##000000
##A5C6401.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2C
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#ADBCAB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #a5c640;
/* rgb */ color: rgb(165, 198, 64);
/* oklch */ color: oklch(77.7% 0.162 122.2);
Tailwind
colors: {
  custom: {
    50: '#c3d77c',
    500: '#a5c640',
    950: '#000000',
  },
}
SCSS
$custom: #a5c640;
$custom-light: #c3d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c640",
  "rgb": {
    "r": 165,
    "g": 198,
    "b": 64
  },
  "hsl": {
    "h": 74.776,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77693,
    "c": 0.16179,
    "h": 122.2
  },
  "luminance": 0.48758
}

Semantic roles & 50–950 ramp

primary
#A5C640
secondary
#A293CE
accent
#4ADD6F
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A5C640

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

Preview Lab → · Contrast checker → · Palette generator →

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