#A6CD38#A6CD38

#A6CD38 is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.3% C 0.175 H 123.4°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#A6CD38
RGBrgb(166, 205, 56)
HSLhsl(76, 60%, 51%)
HSVhsv(76, 73%, 80%)
CMYKcmyk(19%, 0%, 72.7%, 19.6%)
CIE-LABlab(77.31, -33.00, 65.61)
CIE-LCHlch(77.31, 73.44, 116.70°)
OKLaboklab(79.32% -0.0962 0.146)
OKLCHoklch(79.32% 0.175 123.4)
XYZxyz(38.2715, 52.0549, 11.7720)
Luminance0.5205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CD38 #5F38CD
analogous
#CDA938 #A6CD38 #5BCD38
triadic
#A6CD38 #38A6CD #CD38A6
tetradic
#A6CD38 #38CDA9 #5F38CD #CD385B
square
#A6CD38 #38CDA9 #5F38CD #CD385B
split-complementary
#A6CD38 #385BCD #A938CD
monochromatic
#596F1C #80A028 #A6CD38 #BCD969 #D2E69A

Accessibility & contrast

On white

1.84
#A6CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#A6CD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CD38
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CD38#FFFFFF#000000##000000
##A6CD381.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01B
Deuteranopia (green-blind)
#D4BF45
Tritanopia (blue-blind)
#AEC3B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #a6cd38;
/* rgb */ color: rgb(166, 205, 56);
/* oklch */ color: oklch(79.3% 0.175 123.4);
Tailwind
colors: {
  custom: {
    50: '#c4dc79',
    500: '#a6cd38',
    950: '#000000',
  },
}
SCSS
$custom: #a6cd38;
$custom-light: #c4dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cd38",
  "rgb": {
    "r": 166,
    "g": 205,
    "b": 56
  },
  "hsl": {
    "h": 75.705,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79319,
    "c": 0.17489,
    "h": 123.4
  },
  "luminance": 0.52055
}

Semantic roles & 50–950 ramp

primary
#A6CD38
secondary
#443178
accent
#45E36E
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A6CD38

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

Preview Lab → · Contrast checker → · Palette generator →

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