#A7D152#A7D152

#A7D152 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.5% C 0.161 H 125.4°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#A7D152
RGBrgb(167, 209, 82)
HSLhsl(80, 58%, 57%)
HSVhsv(80, 61%, 82%)
CMYKcmyk(20.1%, 0%, 60.8%, 18%)
CIE-LABlab(78.71, -32.72, 56.95)
CIE-LCHlch(78.71, 65.69, 119.88°)
OKLaboklab(80.52% -0.0932 0.1314)
OKLCHoklch(80.52% 0.161 125.4)
XYZxyz(40.2599, 54.4252, 16.3651)
Luminance0.5443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D152 #7C52D1
analogous
#D1BC52 #A7D152 #67D152
triadic
#A7D152 #52A7D1 #D152A7
tetradic
#A7D152 #52D1BC #7C52D1 #D15267
square
#A7D152 #52D1BC #7C52D1 #D15267
split-complementary
#A7D152 #5267D1 #BC52D1
monochromatic
#658523 #89B630 #A7D152 #C0DE82 #D8EBB3

Accessibility & contrast

On white

1.77
#A7D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#A7D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D152
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D152#FFFFFF#000000##000000
##A7D1521.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC443
Deuteranopia (green-blind)
#D6C25B
Tritanopia (blue-blind)
#AEC8B6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a7d152;
/* rgb */ color: rgb(167, 209, 82);
/* oklch */ color: oklch(80.5% 0.161 125.4);
Tailwind
colors: {
  custom: {
    50: '#c4df88',
    500: '#a7d152',
    950: '#000000',
  },
}
SCSS
$custom: #a7d152;
$custom-light: #c4df88;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d152",
  "rgb": {
    "r": 167,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 79.843,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80524,
    "c": 0.16114,
    "h": 125.4
  },
  "luminance": 0.54426
}

Semantic roles & 50–950 ramp

primary
#A7D152
secondary
#563B8C
accent
#47E17A
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A7D152

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

Preview Lab → · Contrast checker → · Palette generator →

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