#A2CF5F#A2CF5F

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

Color values

HEX#A2CF5F
RGBrgb(162, 207, 95)
HSLhsl(84, 54%, 59%)
HSVhsv(84, 54%, 81%)
CMYKcmyk(21.7%, 0%, 54.1%, 18.8%)
CIE-LABlab(77.95, -32.54, 50.21)
CIE-LCHlch(77.95, 59.83, 122.95°)
OKLaboklab(79.87% -0.0913 0.1184)
OKLCHoklch(79.87% 0.15 127.6)
XYZxyz(39.2785, 53.1326, 19.0105)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2CF5F #8C5FCF
analogous
#CFC45F #A2CF5F #6ACF5F
triadic
#A2CF5F #5FA2CF #CF5FA2
tetradic
#A2CF5F #5FCFC4 #8C5FCF #CF5F6A
square
#A2CF5F #5FCFC4 #8C5FCF #CF5F6A
split-complementary
#A2CF5F #5F6ACF #C45FCF
monochromatic
#638A29 #85B938 #A2CF5F #BDDD8E #D9EBBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2CF5F#FFFFFF#000000##000000
##A2CF5F1.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)
#D8C354
Deuteranopia (green-blind)
#D2C066
Tritanopia (blue-blind)
#A7C7B6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a2cf5f;
/* rgb */ color: rgb(162, 207, 95);
/* oklch */ color: oklch(79.9% 0.149 127.6);
Tailwind
colors: {
  custom: {
    50: '#c0de8f',
    500: '#a2cf5f',
    950: '#000000',
  },
}
SCSS
$custom: #a2cf5f;
$custom-light: #c0de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2cf5f",
  "rgb": {
    "r": 162,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 84.107,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79874,
    "c": 0.1495,
    "h": 127.6
  },
  "luminance": 0.53133
}

Semantic roles & 50–950 ramp

primary
#A2CF5F
secondary
#614191
accent
#4BDD85
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#12150D
muted
#82847F

Preview Lab

Preview with #A2CF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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