#A7D54F#A7D54F

#A7D54F is a light, vivid yellow-green. Relative luminance 0.564; OKLCH L 81.4% C 0.169 H 126.1°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#A7D54F
RGBrgb(167, 213, 79)
HSLhsl(81, 61%, 57%)
HSVhsv(81, 63%, 84%)
CMYKcmyk(21.6%, 0%, 62.9%, 16.5%)
CIE-LABlab(79.82, -34.80, 59.43)
CIE-LCHlch(79.82, 68.87, 120.35°)
OKLaboklab(81.42% -0.0993 0.1363)
OKLCHoklch(81.42% 0.169 126.1)
XYZxyz(41.1420, 56.3679, 16.1082)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D54F #7D4FD5
analogous
#D5C04F #A7D54F #64D54F
triadic
#A7D54F #4FA7D5 #D54FA7
tetradic
#A7D54F #4FD5C0 #7D4FD5 #D54F64
square
#A7D54F #4FD5C0 #7D4FD5 #D54F64
split-complementary
#A7D54F #4F64D5 #C04FD5
monochromatic
#658921 #8ABA2C #A7D54F #C0E180 #D8EDB2

Accessibility & contrast

On white

1.71
#A7D54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#A7D54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D54F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D54F#FFFFFF#000000##000000
##A7D54F1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83E
Deuteranopia (green-blind)
#D9C559
Tritanopia (blue-blind)
#ADCCB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a7d54f;
/* rgb */ color: rgb(167, 213, 79);
/* oklch */ color: oklch(81.4% 0.169 126.1);
Tailwind
colors: {
  custom: {
    50: '#c4e286',
    500: '#a7d54f',
    950: '#000000',
  },
}
SCSS
$custom: #a7d54f;
$custom-light: #c4e286;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d54f",
  "rgb": {
    "r": 167,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 80.597,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81416,
    "c": 0.16863,
    "h": 126.1
  },
  "luminance": 0.56369
}

Semantic roles & 50–950 ramp

primary
#A7D54F
secondary
#57398F
accent
#43E57B
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A7D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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