#A6F378#A6F378

#A6F378 is a very light, vivid yellow-green. Relative luminance 0.736; OKLCH L 88.7% C 0.174 H 135.0°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#A6F378
RGBrgb(166, 243, 120)
HSLhsl(98, 84%, 71%)
HSVhsv(98, 51%, 95%)
CMYKcmyk(31.7%, 0%, 50.6%, 4.7%)
CIE-LABlab(88.72, -44.62, 51.47)
CIE-LCHlch(88.72, 68.12, 130.92°)
OKLaboklab(88.74% -0.1232 0.123)
OKLCHoklch(88.74% 0.174 135)
XYZxyz(51.1655, 73.5623, 29.2688)
Luminance0.7356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6F378 #C578F3
analogous
#E3F378 #A6F378 #78F387
triadic
#A6F378 #78A6F3 #F378A6
tetradic
#A6F378 #78E3F3 #C578F3 #F38778
square
#A6F378 #78E3F3 #C578F3 #F38778
split-complementary
#A6F378 #8778F3 #F378E3
monochromatic
#5FDD14 #81EE40 #A6F378 #CBF8B0 #ECFDE3

Accessibility & contrast

On white

1.34
#A6F378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.71
#A6F378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6F378
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6F378#FFFFFF#000000##000000
##A6F3781.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36D
Deuteranopia (green-blind)
#F0DC80
Tritanopia (blue-blind)
#A5EBD7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #a6f378;
/* rgb */ color: rgb(166, 243, 120);
/* oklch */ color: oklch(88.7% 0.174 135.0);
Tailwind
colors: {
  custom: {
    50: '#c4f7a1',
    500: '#a6f378',
    950: '#000000',
  },
}
SCSS
$custom: #a6f378;
$custom-light: #c4f7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a6f378",
  "rgb": {
    "r": 166,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 97.561,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88741,
    "c": 0.17408,
    "h": 135
  },
  "luminance": 0.73564
}

Semantic roles & 50–950 ramp

primary
#A6F378
secondary
#9942CE
accent
#05E08E
background
#FDFFFC
surface
#F9FFF5
border
#D2D7CF
text
#13170F
muted
#828580

Preview Lab

Preview with #A6F378

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

Preview Lab → · Contrast checker → · Palette generator →

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