#A7D042#A7D042

#A7D042 is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 80.2% C 0.172 H 124.2°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#A7D042
RGBrgb(167, 208, 66)
HSLhsl(77, 60%, 54%)
HSVhsv(77, 68%, 82%)
CMYKcmyk(19.7%, 0%, 68.3%, 18.4%)
CIE-LABlab(78.30, -33.41, 63.00)
CIE-LCHlch(78.30, 71.31, 117.94°)
OKLaboklab(80.15% -0.0966 0.1421)
OKLCHoklch(80.15% 0.172 124.2)
XYZxyz(39.4759, 53.7203, 13.4425)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D042 #6B42D0
analogous
#D0B242 #A7D042 #60D042
triadic
#A7D042 #42A7D0 #D042A7
tetradic
#A7D042 #42D0B2 #6B42D0 #D04260
square
#A7D042 #42D0B2 #6B42D0 #D04260
split-complementary
#A7D042 #4260D0 #B242D0
monochromatic
#5F791E #85AA2A #A7D042 #BEDC73 #D5E8A4

Accessibility & contrast

On white

1.79
#A7D042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#A7D042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D042
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D042#FFFFFF#000000##000000
##A7D0421.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC32C
Deuteranopia (green-blind)
#D6C14E
Tritanopia (blue-blind)
#AFC6B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #a7d042;
/* rgb */ color: rgb(167, 208, 66);
/* oklch */ color: oklch(80.2% 0.172 124.2);
Tailwind
colors: {
  custom: {
    50: '#c5de7e',
    500: '#a7d042',
    950: '#000000',
  },
}
SCSS
$custom: #a7d042;
$custom-light: #c5de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d042",
  "rgb": {
    "r": 167,
    "g": 208,
    "b": 66
  },
  "hsl": {
    "h": 77.324,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80152,
    "c": 0.17176,
    "h": 124.2
  },
  "luminance": 0.53721
}

Semantic roles & 50–950 ramp

primary
#A7D042
secondary
#4B3581
accent
#44E372
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7D042

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

Preview Lab → · Contrast checker → · Palette generator →

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