#A7D852#A7D852

#A7D852 is a very light, vivid yellow-green. Relative luminance 0.579; OKLCH L 82.1% C 0.170 H 126.9°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#A7D852
RGBrgb(167, 216, 82)
HSLhsl(82, 63%, 58%)
HSVhsv(82, 62%, 85%)
CMYKcmyk(22.7%, 0%, 62%, 15.3%)
CIE-LABlab(80.70, -35.94, 59.14)
CIE-LCHlch(80.70, 69.20, 121.29°)
OKLaboklab(82.14% -0.1021 0.1361)
OKLCHoklch(82.14% 0.17 126.9)
XYZxyz(42.0152, 57.9357, 16.9502)
Luminance0.5794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D852 #8352D8
analogous
#D8C652 #A7D852 #64D852
triadic
#A7D852 #52A7D8 #D852A7
tetradic
#A7D852 #52D8C6 #8352D8 #D85264
square
#A7D852 #52D8C6 #8352D8 #D85264
split-complementary
#A7D852 #5264D8 #C652D8
monochromatic
#678F20 #8BC12C #A7D852 #C0E384 #DAEFB6

Accessibility & contrast

On white

1.67
#A7D852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#A7D852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D852
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D852#FFFFFF#000000##000000
##A7D8521.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA42
Deuteranopia (green-blind)
#DCC75C
Tritanopia (blue-blind)
#ADCFBC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a7d852;
/* rgb */ color: rgb(167, 216, 82);
/* oklch */ color: oklch(82.1% 0.170 126.9);
Tailwind
colors: {
  custom: {
    50: '#c4e488',
    500: '#a7d852',
    950: '#000000',
  },
}
SCSS
$custom: #a7d852;
$custom-light: #c4e488;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d852",
  "rgb": {
    "r": 167,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 81.94,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82136,
    "c": 0.17013,
    "h": 126.9
  },
  "luminance": 0.57936
}

Semantic roles & 50–950 ramp

primary
#A7D852
secondary
#5B3995
accent
#42E67E
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A7D852

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

Preview Lab → · Contrast checker → · Palette generator →

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