#A7D74E#A7D74E

#A7D74E is a light, vivid yellow-green. Relative luminance 0.574; OKLCH L 81.9% C 0.172 H 126.4°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#A7D74E
RGBrgb(167, 215, 78)
HSLhsl(81, 63%, 57%)
HSVhsv(81, 64%, 84%)
CMYKcmyk(22.3%, 0%, 63.7%, 15.7%)
CIE-LABlab(80.38, -35.79, 60.45)
CIE-LCHlch(80.38, 70.25, 120.63°)
OKLaboklab(81.87% -0.1021 0.1383)
OKLCHoklch(81.87% 0.172 126.4)
XYZxyz(41.6120, 57.3658, 16.0866)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D74E #7E4ED7
analogous
#D7C34E #A7D74E #62D74E
triadic
#A7D74E #4EA7D7 #D74EA7
tetradic
#A7D74E #4ED7C3 #7E4ED7 #D74E62
square
#A7D74E #4ED7C3 #7E4ED7 #D74E62
split-complementary
#A7D74E #4E62D7 #C34ED7
monochromatic
#658B1F #8ABD2B #A7D74E #C0E280 #D9EEB2

Accessibility & contrast

On white

1.68
#A7D74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#A7D74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D74E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D74E#FFFFFF#000000##000000
##A7D74E1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C93D
Deuteranopia (green-blind)
#DBC758
Tritanopia (blue-blind)
#ADCDBB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #a7d74e;
/* rgb */ color: rgb(167, 215, 78);
/* oklch */ color: oklch(81.9% 0.172 126.4);
Tailwind
colors: {
  custom: {
    50: '#c4e386',
    500: '#a7d74e',
    950: '#000000',
  },
}
SCSS
$custom: #a7d74e;
$custom-light: #c4e386;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d74e",
  "rgb": {
    "r": 167,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 81.022,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81868,
    "c": 0.17193,
    "h": 126.4
  },
  "luminance": 0.57366
}

Semantic roles & 50–950 ramp

primary
#A7D74E
secondary
#573891
accent
#42E67B
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A7D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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