#A5C970#A5C970

#A5C970 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.9% C 0.123 H 127.0°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#A5C970
RGBrgb(165, 201, 112)
HSLhsl(84, 45%, 61%)
HSVhsv(84, 44%, 79%)
CMYKcmyk(17.9%, 0%, 44.3%, 21.2%)
CIE-LABlab(76.64, -26.74, 40.47)
CIE-LCHlch(76.64, 48.51, 123.46°)
OKLaboklab(78.93% -0.074 0.0981)
OKLCHoklch(78.93% 0.123 127)
XYZxyz(39.3280, 50.9420, 23.0869)
Luminance0.5094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C970 #9470C9
analogous
#C9C170 #A5C970 #79C970
triadic
#A5C970 #70A5C9 #C970A5
tetradic
#A5C970 #70C9C1 #9470C9 #C97079
square
#A5C970 #70C9C1 #9470C9 #C97079
split-complementary
#A5C970 #7079C9 #C170C9
monochromatic
#688A34 #89B745 #A5C970 #C1DA9C #DDEBC9

Accessibility & contrast

On white

1.88
#A5C970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#A5C970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C970
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C970#FFFFFF#000000##000000
##A5C9701.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF69
Deuteranopia (green-blind)
#CCBC75
Tritanopia (blue-blind)
#A9C2B4
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #a5c970;
/* rgb */ color: rgb(165, 201, 112);
/* oklch */ color: oklch(78.9% 0.123 127.0);
Tailwind
colors: {
  custom: {
    50: '#c1d99a',
    500: '#a5c970',
    950: '#000000',
  },
}
SCSS
$custom: #a5c970;
$custom-light: #c1d99a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c970",
  "rgb": {
    "r": 165,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 84.27,
    "s": 45.178,
    "l": 61.373
  },
  "oklch": {
    "l": 0.78934,
    "c": 0.12285,
    "h": 127
  },
  "luminance": 0.50942
}

Semantic roles & 50–950 ramp

primary
#A5C970
secondary
#684C92
accent
#2DB865
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#12140E
muted
#82837F

Preview Lab

Preview with #A5C970

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

Preview Lab → · Contrast checker → · Palette generator →

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