#A2CF42#A2CF42

#A2CF42 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.6% C 0.173 H 125.5°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#A2CF42
RGBrgb(162, 207, 66)
HSLhsl(79, 59%, 54%)
HSVhsv(79, 68%, 81%)
CMYKcmyk(21.7%, 0%, 68.1%, 18.8%)
CIE-LABlab(77.70, -34.89, 62.28)
CIE-LCHlch(77.70, 71.39, 119.26°)
OKLaboklab(79.58% -0.1003 0.1407)
OKLCHoklch(79.58% 0.173 125.5)
XYZxyz(38.1967, 52.6999, 13.3129)
Luminance0.5270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CF42 #6F42CF
analogous
#CFB542 #A2CF42 #5BCF42
triadic
#A2CF42 #42A2CF #CF42A2
tetradic
#A2CF42 #42CFB5 #6F42CF #CF425B
square
#A2CF42 #42CFB5 #6F42CF #CF425B
split-complementary
#A2CF42 #425BCF #B542CF
monochromatic
#5C781F #81A92B #A2CF42 #BADB73 #D2E8A4

Accessibility & contrast

On white

1.82
#A2CF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#A2CF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2CF42
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2CF42#FFFFFF#000000##000000
##A2CF421.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#D4BF4E
Tritanopia (blue-blind)
#A9C5B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #a2cf42;
/* rgb */ color: rgb(162, 207, 66);
/* oklch */ color: oklch(79.6% 0.173 125.5);
Tailwind
colors: {
  custom: {
    50: '#c1dd7e',
    500: '#a2cf42',
    950: '#000000',
  },
}
SCSS
$custom: #a2cf42;
$custom-light: #c1dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cf42",
  "rgb": {
    "r": 162,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 79.149,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79585,
    "c": 0.17279,
    "h": 125.5
  },
  "luminance": 0.527
}

Semantic roles & 50–950 ramp

primary
#A2CF42
secondary
#4D3580
accent
#45E377
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A2CF42

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

Preview Lab → · Contrast checker → · Palette generator →

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