#A6C438#A6C438

#A6C438 is a light, vivid yellow-green. Relative luminance 0.479; OKLCH L 77.2% C 0.164 H 121.0°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#A6C438
RGBrgb(166, 196, 56)
HSLhsl(73, 56%, 49%)
HSVhsv(73, 71%, 77%)
CMYKcmyk(15.3%, 0%, 71.4%, 23.1%)
CIE-LABlab(74.74, -28.77, 63.10)
CIE-LCHlch(74.74, 69.35, 114.51°)
OKLaboklab(77.24% -0.0846 0.1408)
OKLCHoklch(77.24% 0.164 121)
XYZxyz(36.1802, 47.8724, 11.0749)
Luminance0.4787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C438 #5638C4
analogous
#C49C38 #A6C438 #60C438
triadic
#A6C438 #38A6C4 #C438A6
tetradic
#A6C438 #38C49C #5638C4 #C43860
square
#A6C438 #38C49C #5638C4 #C43860
split-complementary
#A6C438 #3860C4 #9C38C4
monochromatic
#55651D #7E942A #A6C438 #BCD366 #D1E196

Accessibility & contrast

On white

1.99
#A6C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#A6C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C438
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C438#FFFFFF#000000##000000
##A6C4381.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81F
Deuteranopia (green-blind)
#CCB844
Tritanopia (blue-blind)
#AFBAA9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #a6c438;
/* rgb */ color: rgb(166, 196, 56);
/* oklch */ color: oklch(77.2% 0.164 121.0);
Tailwind
colors: {
  custom: {
    50: '#c4d578',
    500: '#a6c438',
    950: '#000000',
  },
}
SCSS
$custom: #a6c438;
$custom-light: #c4d578;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c438",
  "rgb": {
    "r": 166,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 72.857,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77245,
    "c": 0.16423,
    "h": 121
  },
  "luminance": 0.47872
}

Semantic roles & 50–950 ramp

primary
#A6C438
secondary
#998CCC
accent
#49DF69
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C438

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

Preview Lab → · Contrast checker → · Palette generator →

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