#A6CC38#A6CC38

#A6CC38 is a light, vivid yellow-green. Relative luminance 0.516; OKLCH L 79.1% C 0.174 H 123.1°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#A6CC38
RGBrgb(166, 204, 56)
HSLhsl(75, 59%, 51%)
HSVhsv(75, 73%, 80%)
CMYKcmyk(18.6%, 0%, 72.5%, 20%)
CIE-LABlab(77.03, -32.53, 65.33)
CIE-LCHlch(77.03, 72.98, 116.47°)
OKLaboklab(79.09% -0.0949 0.1455)
OKLCHoklch(79.09% 0.174 123.1)
XYZxyz(38.0330, 51.5780, 11.6925)
Luminance0.5158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CC38 #5E38CC
analogous
#CCA838 #A6CC38 #5CCC38
triadic
#A6CC38 #38A6CC #CC38A6
tetradic
#A6CC38 #38CCA8 #5E38CC #CC385C
square
#A6CC38 #38CCA8 #5E38CC #CC385C
split-complementary
#A6CC38 #385CCC #A838CC
monochromatic
#596E1C #809E29 #A6CC38 #BCD869 #D2E599

Accessibility & contrast

On white

1.86
#A6CC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#A6CC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CC38
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CC38#FFFFFF#000000##000000
##A6CC381.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1B
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#AEC2AF
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a6cc38;
/* rgb */ color: rgb(166, 204, 56);
/* oklch */ color: oklch(79.1% 0.174 123.1);
Tailwind
colors: {
  custom: {
    50: '#c4db79',
    500: '#a6cc38',
    950: '#000000',
  },
}
SCSS
$custom: #a6cc38;
$custom-light: #c4db79;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cc38",
  "rgb": {
    "r": 166,
    "g": 204,
    "b": 56
  },
  "hsl": {
    "h": 75.405,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79088,
    "c": 0.17369,
    "h": 123.1
  },
  "luminance": 0.51578
}

Semantic roles & 50–950 ramp

primary
#A6CC38
secondary
#433177
accent
#45E26E
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A6CC38

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

Preview Lab → · Contrast checker → · Palette generator →

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