#A8D74F#A8D74F

#A8D74F is a light, vivid yellow-green. Relative luminance 0.575; OKLCH L 81.9% C 0.171 H 126.2°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#A8D74F
RGBrgb(168, 215, 79)
HSLhsl(81, 63%, 58%)
HSVhsv(81, 63%, 84%)
CMYKcmyk(21.9%, 0%, 63.3%, 15.7%)
CIE-LABlab(80.45, -35.34, 60.13)
CIE-LCHlch(80.45, 69.75, 120.44°)
OKLaboklab(81.94% -0.1008 0.1378)
OKLCHoklch(81.94% 0.171 126.2)
XYZxyz(41.8603, 57.4896, 16.2868)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8D74F #7E4FD7
analogous
#D7C24F #A8D74F #64D74F
triadic
#A8D74F #4FA8D7 #D74FA8
tetradic
#A8D74F #4FD7C2 #7E4FD7 #D74F64
square
#A8D74F #4FD7C2 #7E4FD7 #D74F64
split-complementary
#A8D74F #4F64D7 #C24FD7
monochromatic
#668C20 #8BBE2B #A8D74F #C1E281 #D9EEB3

Accessibility & contrast

On white

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

On black

12.50
#A8D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8D74F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8D74F#FFFFFF#000000##000000
##A8D74F1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C93E
Deuteranopia (green-blind)
#DBC759
Tritanopia (blue-blind)
#AECDBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a8d74f;
/* rgb */ color: rgb(168, 215, 79);
/* oklch */ color: oklch(81.9% 0.171 126.2);
Tailwind
colors: {
  custom: {
    50: '#c5e386',
    500: '#a8d74f',
    950: '#000000',
  },
}
SCSS
$custom: #a8d74f;
$custom-light: #c5e386;
$custom-dark: #000000;
JSON
{
  "hex": "#a8d74f",
  "rgb": {
    "r": 168,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 80.735,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81943,
    "c": 0.17071,
    "h": 126.2
  },
  "luminance": 0.5749
}

Semantic roles & 50–950 ramp

primary
#A8D74F
secondary
#573992
accent
#42E67B
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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