#A6CF31#A6CF31

#A6CF31 is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 79.7% C 0.181 H 123.6°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#A6CF31
RGBrgb(166, 207, 49)
HSLhsl(76, 62%, 50%)
HSVhsv(76, 76%, 81%)
CMYKcmyk(19.8%, 0%, 76.3%, 18.8%)
CIE-LABlab(77.85, -34.27, 68.40)
CIE-LCHlch(77.85, 76.50, 116.61°)
OKLaboklab(79.74% -0.1002 0.1508)
OKLCHoklch(79.74% 0.181 123.6)
XYZxyz(38.5936, 52.9541, 11.0931)
Luminance0.5295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CF31 #5A31CF
analogous
#CFA931 #A6CF31 #57CF31
triadic
#A6CF31 #31A6CF #CF31A6
tetradic
#A6CF31 #31CFA9 #5A31CF #CF3157
square
#A6CF31 #31CFA9 #5A31CF #CF3157
split-complementary
#A6CF31 #3157CF #A931CF
monochromatic
#576C19 #7F9E25 #A6CF31 #BBDB63 #D1E694

Accessibility & contrast

On white

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

On black

11.59
#A6CF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CF31
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CF31#FFFFFF#000000##000000
##A6CF311.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6cf31;
/* rgb */ color: rgb(166, 207, 49);
/* oklch */ color: oklch(79.7% 0.181 123.6);
Tailwind
colors: {
  custom: {
    50: '#c4dd76',
    500: '#a6cf31',
    950: '#000000',
  },
}
SCSS
$custom: #a6cf31;
$custom-light: #c4dd76;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cf31",
  "rgb": {
    "r": 166,
    "g": 207,
    "b": 49
  },
  "hsl": {
    "h": 75.57,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79739,
    "c": 0.18106,
    "h": 123.6
  },
  "luminance": 0.52954
}

Semantic roles & 50–950 ramp

primary
#A6CF31
secondary
#412E76
accent
#43E56D
background
#FEFEFB
surface
#FAFCF1
border
#D3D5CB
text
#131509
muted
#83847D

Preview Lab

Preview with #A6CF31

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

Preview Lab → · Contrast checker → · Palette generator →

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