#A6CF42#A6CF42

#A6CF42 is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 79.9% C 0.171 H 124.3°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#A6CF42
RGBrgb(166, 207, 66)
HSLhsl(77, 59%, 54%)
HSVhsv(77, 68%, 81%)
CMYKcmyk(19.8%, 0%, 68.1%, 18.8%)
CIE-LABlab(77.95, -33.34, 62.62)
CIE-LCHlch(77.95, 70.94, 118.03°)
OKLaboklab(79.85% -0.0963 0.1413)
OKLCHoklch(79.85% 0.171 124.3)
XYZxyz(39.0224, 53.1256, 13.3516)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CF42 #6B42CF
analogous
#CFB142 #A6CF42 #5FCF42
triadic
#A6CF42 #42A6CF #CF42A6
tetradic
#A6CF42 #42CFB1 #6B42CF #CF425F
square
#A6CF42 #42CFB1 #6B42CF #CF425F
split-complementary
#A6CF42 #425FCF #B142CF
monochromatic
#5E781F #84A92B #A6CF42 #BDDB73 #D4E8A4

Accessibility & contrast

On white

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

On black

11.63
#A6CF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CF42
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CF42#FFFFFF#000000##000000
##A6CF421.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#AEC5B3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a6cf42;
/* rgb */ color: rgb(166, 207, 66);
/* oklch */ color: oklch(79.9% 0.171 124.3);
Tailwind
colors: {
  custom: {
    50: '#c4dd7e',
    500: '#a6cf42',
    950: '#000000',
  },
}
SCSS
$custom: #a6cf42;
$custom-light: #c4dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cf42",
  "rgb": {
    "r": 166,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 77.447,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79854,
    "c": 0.17098,
    "h": 124.3
  },
  "luminance": 0.53126
}

Semantic roles & 50–950 ramp

primary
#A6CF42
secondary
#4B3580
accent
#45E373
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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