#A6CF38#A6CF38

#A6CF38 is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 79.8% C 0.177 H 123.9°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#A6CF38
RGBrgb(166, 207, 56)
HSLhsl(76, 61%, 52%)
HSVhsv(76, 73%, 81%)
CMYKcmyk(19.8%, 0%, 72.9%, 18.8%)
CIE-LABlab(77.89, -33.92, 66.16)
CIE-LCHlch(77.89, 74.35, 117.14°)
OKLaboklab(79.78% -0.0987 0.1472)
OKLCHoklch(79.78% 0.177 123.9)
XYZxyz(38.7529, 53.0179, 11.9325)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CF38 #6138CF
analogous
#CFAC38 #A6CF38 #5BCF38
triadic
#A6CF38 #38A6CF #CF38A6
tetradic
#A6CF38 #38CFAC #6138CF #CF385B
square
#A6CF38 #38CFAC #6138CF #CF385B
split-complementary
#A6CF38 #385BCF #AC38CF
monochromatic
#5A711B #81A327 #A6CF38 #BCDB69 #D2E79B

Accessibility & contrast

On white

1.81
#A6CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#A6CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CF38
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CF38#FFFFFF#000000##000000
##A6CF381.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21A
Deuteranopia (green-blind)
#D5C046
Tritanopia (blue-blind)
#AEC5B2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a6cf38;
/* rgb */ color: rgb(166, 207, 56);
/* oklch */ color: oklch(79.8% 0.177 123.9);
Tailwind
colors: {
  custom: {
    50: '#c4dd79',
    500: '#a6cf38',
    950: '#000000',
  },
}
SCSS
$custom: #a6cf38;
$custom-light: #c4dd79;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cf38",
  "rgb": {
    "r": 166,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 76.291,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.79782,
    "c": 0.17726,
    "h": 123.9
  },
  "luminance": 0.53018
}

Semantic roles & 50–950 ramp

primary
#A6CF38
secondary
#45317A
accent
#44E46F
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A6CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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