#A7D451#A7D451

#A7D451 is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.2% C 0.166 H 126.0°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#A7D451
RGBrgb(167, 212, 81)
HSLhsl(81, 60%, 57%)
HSVhsv(81, 62%, 83%)
CMYKcmyk(21.2%, 0%, 61.8%, 16.9%)
CIE-LABlab(79.55, -34.19, 58.31)
CIE-LCHlch(79.55, 67.59, 120.39°)
OKLaboklab(81.21% -0.0974 0.1342)
OKLCHoklch(81.21% 0.166 126)
XYZxyz(40.9651, 55.8960, 16.4138)
Luminance0.5590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D451 #7E51D4
analogous
#D4C051 #A7D451 #65D451
triadic
#A7D451 #51A7D4 #D451A7
tetradic
#A7D451 #51D4C0 #7E51D4 #D45165
square
#A7D451 #51D4C0 #7E51D4 #D45165
split-complementary
#A7D451 #5165D4 #C051D4
monochromatic
#658922 #8ABA2E #A7D451 #C0E082 #D9ECB3

Accessibility & contrast

On white

1.72
#A7D451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#A7D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D451
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D451#FFFFFF#000000##000000
##A7D4511.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC741
Deuteranopia (green-blind)
#D8C45B
Tritanopia (blue-blind)
#ADCBB8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #a7d451;
/* rgb */ color: rgb(167, 212, 81);
/* oklch */ color: oklch(81.2% 0.166 126.0);
Tailwind
colors: {
  custom: {
    50: '#c4e187',
    500: '#a7d451',
    950: '#000000',
  },
}
SCSS
$custom: #a7d451;
$custom-light: #c4e187;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d451",
  "rgb": {
    "r": 167,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 80.611,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81205,
    "c": 0.1658,
    "h": 126
  },
  "luminance": 0.55897
}

Semantic roles & 50–950 ramp

primary
#A7D451
secondary
#573A8F
accent
#44E47B
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A7D451

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

Preview Lab → · Contrast checker → · Palette generator →

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