#A6D74E#A6D74E

#A6D74E is a light, vivid yellow-green. Relative luminance 0.573; OKLCH L 81.8% C 0.172 H 126.7°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#A6D74E
RGBrgb(166, 215, 78)
HSLhsl(81, 63%, 57%)
HSVhsv(81, 64%, 84%)
CMYKcmyk(22.8%, 0%, 63.7%, 15.7%)
CIE-LABlab(80.32, -36.17, 60.37)
CIE-LCHlch(80.32, 70.37, 120.93°)
OKLaboklab(81.8% -0.1031 0.1382)
OKLCHoklch(81.8% 0.172 126.7)
XYZxyz(41.4015, 57.2573, 16.0768)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D74E #7F4ED7
analogous
#D7C44E #A6D74E #61D74E
triadic
#A6D74E #4EA6D7 #D74EA6
tetradic
#A6D74E #4ED7C4 #7F4ED7 #D74E61
square
#A6D74E #4ED7C4 #7F4ED7 #D74E61
split-complementary
#A6D74E #4E61D7 #C44ED7
monochromatic
#658B1F #89BD2B #A6D74E #BFE280 #D8EEB2

Accessibility & contrast

On white

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

On black

12.45
#A6D74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D74E
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D74E#FFFFFF#000000##000000
##A6D74E1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6d74e;
/* rgb */ color: rgb(166, 215, 78);
/* oklch */ color: oklch(81.8% 0.172 126.7);
Tailwind
colors: {
  custom: {
    50: '#c4e386',
    500: '#a6d74e',
    950: '#000000',
  },
}
SCSS
$custom: #a6d74e;
$custom-light: #c4e386;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d74e",
  "rgb": {
    "r": 166,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 81.46,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81803,
    "c": 0.17238,
    "h": 126.7
  },
  "luminance": 0.57258
}

Semantic roles & 50–950 ramp

primary
#A6D74E
secondary
#583891
accent
#42E67C
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A6D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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