#A6D638#A6D638

#A6D638 is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.4% C 0.186 H 125.4°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#A6D638
RGBrgb(166, 214, 56)
HSLhsl(78, 66%, 53%)
HSVhsv(78, 74%, 84%)
CMYKcmyk(22.4%, 0%, 73.8%, 16.1%)
CIE-LABlab(79.89, -37.11, 68.10)
CIE-LCHlch(79.89, 77.55, 118.59°)
OKLaboklab(81.4% -0.1075 0.1513)
OKLCHoklch(81.4% 0.186 125.4)
XYZxyz(40.4866, 56.4851, 12.5103)
Luminance0.5649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D638 #6838D6
analogous
#D6B738 #A6D638 #57D638
triadic
#A6D638 #38A6D6 #D638A6
tetradic
#A6D638 #38D6B7 #6838D6 #D63857
square
#A6D638 #38D6B7 #6838D6 #D63857
split-complementary
#A6D638 #3857D6 #B738D6
monochromatic
#5D7A19 #83AD24 #A6D638 #BDE06B #D3EB9D

Accessibility & contrast

On white

1.71
#A6D638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#A6D638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D638
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D638#FFFFFF#000000##000000
##A6D6381.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C816
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#ADCCB8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a6d638;
/* rgb */ color: rgb(166, 214, 56);
/* oklch */ color: oklch(81.4% 0.186 125.4);
Tailwind
colors: {
  custom: {
    50: '#c4e27a',
    500: '#a6d638',
    950: '#000000',
  },
}
SCSS
$custom: #a6d638;
$custom-light: #c4e27a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d638",
  "rgb": {
    "r": 166,
    "g": 214,
    "b": 56
  },
  "hsl": {
    "h": 78.228,
    "s": 65.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81404,
    "c": 0.18556,
    "h": 125.4
  },
  "luminance": 0.56486
}

Semantic roles & 50–950 ramp

primary
#A6D638
secondary
#493082
accent
#3FE973
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A6D638

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

Preview Lab → · Contrast checker → · Palette generator →

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