#A6C62D#A6C62D

#A6C62D is a light, vivid yellow-green. Relative luminance 0.487; OKLCH L 77.6% C 0.173 H 121.2°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#A6C62D
RGBrgb(166, 198, 45)
HSLhsl(73, 63%, 48%)
HSVhsv(73, 77%, 78%)
CMYKcmyk(16.2%, 0%, 77.3%, 22.4%)
CIE-LABlab(75.25, -30.26, 67.22)
CIE-LCHlch(75.25, 73.71, 114.24°)
OKLaboklab(77.64% -0.0896 0.1476)
OKLCHoklch(77.64% 0.173 121.2)
XYZxyz(36.3943, 48.6846, 9.9619)
Luminance0.4869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C62D #4D2DC6
analogous
#C6992D #A6C62D #59C62D
triadic
#A6C62D #2DA6C6 #C62DA6
tetradic
#A6C62D #2DC699 #4D2DC6 #C62D59
square
#A6C62D #2DC699 #4D2DC6 #C62D59
split-complementary
#A6C62D #2D59C6 #992DC6
monochromatic
#526216 #7C9422 #A6C62D #BED957 #D1E489

Accessibility & contrast

On white

1.96
#A6C62D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#A6C62D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C62D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C62D#FFFFFF#000000##000000
##A6C62D1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA00
Deuteranopia (green-blind)
#CEB93C
Tritanopia (blue-blind)
#AFBBAA
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #a6c62d;
/* rgb */ color: rgb(166, 198, 45);
/* oklch */ color: oklch(77.6% 0.173 121.2);
Tailwind
colors: {
  custom: {
    50: '#c4d773',
    500: '#a6c62d',
    950: '#000000',
  },
}
SCSS
$custom: #a6c62d;
$custom-light: #c4d773;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c62d",
  "rgb": {
    "r": 166,
    "g": 198,
    "b": 45
  },
  "hsl": {
    "h": 72.549,
    "s": 62.963,
    "l": 47.647
  },
  "oklch": {
    "l": 0.77638,
    "c": 0.17268,
    "h": 121.2
  },
  "luminance": 0.48685
}

Semantic roles & 50–950 ramp

primary
#A6C62D
secondary
#9181CE
accent
#42E664
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C62D

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

Preview Lab → · Contrast checker → · Palette generator →

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