#A7D242#A7D242

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

Color values

HEX#A7D242
RGBrgb(167, 210, 66)
HSLhsl(78, 62%, 54%)
HSVhsv(78, 69%, 82%)
CMYKcmyk(20.5%, 0%, 68.6%, 17.6%)
CIE-LABlab(78.87, -34.33, 63.58)
CIE-LCHlch(78.87, 72.25, 118.37°)
OKLaboklab(80.61% -0.0991 0.1433)
OKLCHoklch(80.61% 0.174 124.7)
XYZxyz(39.9666, 54.7016, 13.6061)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D242 #6D42D2
analogous
#D2B542 #A7D242 #5FD242
triadic
#A7D242 #42A7D2 #D242A7
tetradic
#A7D242 #42D2B5 #6D42D2 #D2425F
square
#A7D242 #42D2B5 #6D42D2 #D2425F
split-complementary
#A7D242 #425FD2 #B542D2
monochromatic
#607C1E #86AD29 #A7D242 #BEDE73 #D5EAA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7D242#FFFFFF#000000##000000
##A7D2421.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)
#DDC52C
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#AEC8B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a7d242;
/* rgb */ color: rgb(167, 210, 66);
/* oklch */ color: oklch(80.6% 0.174 124.7);
Tailwind
colors: {
  custom: {
    50: '#c5e07e',
    500: '#a7d242',
    950: '#000000',
  },
}
SCSS
$custom: #a7d242;
$custom-light: #c5e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d242",
  "rgb": {
    "r": 167,
    "g": 210,
    "b": 66
  },
  "hsl": {
    "h": 77.917,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80614,
    "c": 0.17421,
    "h": 124.7
  },
  "luminance": 0.54702
}

Semantic roles & 50–950 ramp

primary
#A7D242
secondary
#4C3484
accent
#43E573
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #A7D242

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

Preview Lab → · Contrast checker → · Palette generator →

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