#A7D751#A7D751

#A7D751 is a light, vivid yellow-green. Relative luminance 0.574; OKLCH L 81.9% C 0.170 H 126.6°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#A7D751
RGBrgb(167, 215, 81)
HSLhsl(81, 63%, 58%)
HSVhsv(81, 62%, 84%)
CMYKcmyk(22.3%, 0%, 62.3%, 15.7%)
CIE-LABlab(80.41, -35.56, 59.24)
CIE-LCHlch(80.41, 69.09, 120.98°)
OKLaboklab(81.9% -0.1012 0.1362)
OKLCHoklch(81.9% 0.17 126.6)
XYZxyz(41.7220, 57.4098, 16.6661)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D751 #8151D7
analogous
#D7C451 #A7D751 #64D751
triadic
#A7D751 #51A7D7 #D751A7
tetradic
#A7D751 #51D7C4 #8151D7 #D75164
square
#A7D751 #51D7C4 #8151D7 #D75164
split-complementary
#A7D751 #5164D7 #C451D7
monochromatic
#668D20 #8ABF2C #A7D751 #C0E283 #D9EEB5

Accessibility & contrast

On white

1.68
#A7D751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#A7D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D751
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D751#FFFFFF#000000##000000
##A7D7511.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C941
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#ADCEBB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a7d751;
/* rgb */ color: rgb(167, 215, 81);
/* oklch */ color: oklch(81.9% 0.170 126.6);
Tailwind
colors: {
  custom: {
    50: '#c4e387',
    500: '#a7d751',
    950: '#000000',
  },
}
SCSS
$custom: #a7d751;
$custom-light: #c4e387;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d751",
  "rgb": {
    "r": 167,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 81.493,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81896,
    "c": 0.16963,
    "h": 126.6
  },
  "luminance": 0.5741
}

Semantic roles & 50–950 ramp

primary
#A7D751
secondary
#593993
accent
#42E67D
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A7D751

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

Preview Lab → · Contrast checker → · Palette generator →

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