#A7D240#A7D240

#A7D240 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.6% C 0.176 H 124.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#A7D240
RGBrgb(167, 210, 64)
HSLhsl(78, 62%, 54%)
HSVhsv(78, 70%, 82%)
CMYKcmyk(20.5%, 0%, 69.5%, 17.6%)
CIE-LABlab(78.86, -34.45, 64.31)
CIE-LCHlch(78.86, 72.95, 118.18°)
OKLaboklab(80.6% -0.0996 0.1445)
OKLCHoklch(80.6% 0.176 124.6)
XYZxyz(39.9087, 54.6785, 13.3010)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D240 #6B40D2
analogous
#D2B440 #A7D240 #5ED240
triadic
#A7D240 #40A7D2 #D240A7
tetradic
#A7D240 #40D2B4 #6B40D2 #D2405E
square
#A7D240 #40D2B4 #6B40D2 #D2405E
split-complementary
#A7D240 #405ED2 #B440D2
monochromatic
#5F7B1D #85AC29 #A7D240 #BEDE72 #D5E9A3

Accessibility & contrast

On white

1.76
#A7D240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#A7D240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D240
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D240#FFFFFF#000000##000000
##A7D2401.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC528
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#AFC8B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a7d240;
/* rgb */ color: rgb(167, 210, 64);
/* oklch */ color: oklch(80.6% 0.176 124.6);
Tailwind
colors: {
  custom: {
    50: '#c5e07d',
    500: '#a7d240',
    950: '#000000',
  },
}
SCSS
$custom: #a7d240;
$custom-light: #c5e07d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d240",
  "rgb": {
    "r": 167,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 77.671,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80599,
    "c": 0.17551,
    "h": 124.6
  },
  "luminance": 0.54679
}

Semantic roles & 50–950 ramp

primary
#A7D240
secondary
#4B3483
accent
#43E573
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7D240

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

Preview Lab → · Contrast checker → · Palette generator →

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