#A7D742#A7D742

#A7D742 is a light, vivid yellow-green. Relative luminance 0.572; OKLCH L 81.8% C 0.180 H 125.8°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#A7D742
RGBrgb(167, 215, 66)
HSLhsl(79, 65%, 55%)
HSVhsv(79, 69%, 84%)
CMYKcmyk(22.3%, 0%, 69.3%, 15.7%)
CIE-LABlab(80.30, -36.61, 65.03)
CIE-LCHlch(80.30, 74.62, 119.38°)
OKLaboklab(81.77% -0.1053 0.1463)
OKLCHoklch(81.77% 0.18 125.8)
XYZxyz(41.2204, 57.2091, 14.0240)
Luminance0.5721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D742 #7242D7
analogous
#D7BD42 #A7D742 #5CD742
triadic
#A7D742 #42A7D7 #D742A7
tetradic
#A7D742 #42D7BD #7242D7 #D7425C
square
#A7D742 #42D7BD #7242D7 #D7425C
split-complementary
#A7D742 #425CD7 #BD42D7
monochromatic
#62831C #87B526 #A7D742 #BFE275 #D6ECA7

Accessibility & contrast

On white

1.69
#A7D742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#A7D742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D742
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D742#FFFFFF#000000##000000
##A7D7421.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92A
Deuteranopia (green-blind)
#DCC64F
Tritanopia (blue-blind)
#AECDBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a7d742;
/* rgb */ color: rgb(167, 215, 66);
/* oklch */ color: oklch(81.8% 0.180 125.8);
Tailwind
colors: {
  custom: {
    50: '#c5e37f',
    500: '#a7d742',
    950: '#000000',
  },
}
SCSS
$custom: #a7d742;
$custom-light: #c5e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d742",
  "rgb": {
    "r": 167,
    "g": 215,
    "b": 66
  },
  "hsl": {
    "h": 79.329,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81769,
    "c": 0.1803,
    "h": 125.8
  },
  "luminance": 0.5721
}

Semantic roles & 50–950 ramp

primary
#A7D742
secondary
#4F348A
accent
#40E876
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150B
muted
#83847E

Preview Lab

Preview with #A7D742

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

Preview Lab → · Contrast checker → · Palette generator →

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