#A6C338#A6C338

#A6C338 is a light, vivid yellow-green. Relative luminance 0.474; OKLCH L 77.0% C 0.163 H 120.7°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#A6C338
RGBrgb(166, 195, 56)
HSLhsl(73, 55%, 49%)
HSVhsv(73, 71%, 76%)
CMYKcmyk(14.9%, 0%, 71.3%, 23.5%)
CIE-LABlab(74.46, -28.30, 62.82)
CIE-LCHlch(74.46, 68.90, 114.25°)
OKLaboklab(77.02% -0.0833 0.1402)
OKLCHoklch(77.02% 0.163 120.7)
XYZxyz(35.9554, 47.4228, 10.9999)
Luminance0.4742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C338 #5538C3
analogous
#C39B38 #A6C338 #61C338
triadic
#A6C338 #38A6C3 #C338A6
tetradic
#A6C338 #38C39B #5538C3 #C33861
square
#A6C338 #38C39B #5538C3 #C33861
split-complementary
#A6C338 #3861C3 #9B38C3
monochromatic
#55641D #7E932A #A6C338 #BCD365 #D1E195

Accessibility & contrast

On white

2.00
#A6C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#A6C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C338
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C338#FFFFFF#000000##000000
##A6C3381.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB81F
Deuteranopia (green-blind)
#CCB744
Tritanopia (blue-blind)
#AFB9A8
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a6c338;
/* rgb */ color: rgb(166, 195, 56);
/* oklch */ color: oklch(77.0% 0.163 120.7);
Tailwind
colors: {
  custom: {
    50: '#c4d578',
    500: '#a6c338',
    950: '#000000',
  },
}
SCSS
$custom: #a6c338;
$custom-light: #c4d578;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c338",
  "rgb": {
    "r": 166,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 72.518,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77015,
    "c": 0.16305,
    "h": 120.7
  },
  "luminance": 0.47423
}

Semantic roles & 50–950 ramp

primary
#A6C338
secondary
#998BCC
accent
#49DF68
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C338

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

Preview Lab → · Contrast checker → · Palette generator →

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