#A8CF51#A8CF51

#A8CF51 is a light, vivid yellow-green. Relative luminance 0.535; OKLCH L 80.1% C 0.159 H 124.5°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#A8CF51
RGBrgb(168, 207, 81)
HSLhsl(79, 57%, 56%)
HSVhsv(79, 61%, 81%)
CMYKcmyk(18.8%, 0%, 60.9%, 18.8%)
CIE-LABlab(78.20, -31.49, 56.84)
CIE-LCHlch(78.20, 64.97, 118.99°)
OKLaboklab(80.12% -0.0899 0.131)
OKLCHoklch(80.12% 0.159 124.5)
XYZxyz(39.9467, 53.5442, 16.0135)
Luminance0.5354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CF51 #7851CF
analogous
#CFB751 #A8CF51 #69CF51
triadic
#A8CF51 #51A8CF #CF51A8
tetradic
#A8CF51 #51CFB7 #7851CF #CF5169
square
#A8CF51 #51CFB7 #7851CF #CF5169
split-complementary
#A8CF51 #5169CF #B751CF
monochromatic
#658224 #8AB231 #A8CF51 #C0DC81 #D8E9B1

Accessibility & contrast

On white

1.79
#A8CF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#A8CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CF51
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CF51#FFFFFF#000000##000000
##A8CF511.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC342
Deuteranopia (green-blind)
#D5C15A
Tritanopia (blue-blind)
#AFC6B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #a8cf51;
/* rgb */ color: rgb(168, 207, 81);
/* oklch */ color: oklch(80.1% 0.159 124.5);
Tailwind
colors: {
  custom: {
    50: '#c5dd87',
    500: '#a8cf51',
    950: '#000000',
  },
}
SCSS
$custom: #a8cf51;
$custom-light: #c5dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cf51",
  "rgb": {
    "r": 168,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 78.571,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80123,
    "c": 0.15894,
    "h": 124.5
  },
  "luminance": 0.53545
}

Semantic roles & 50–950 ramp

primary
#A8CF51
secondary
#533B89
accent
#48E077
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#13150C
muted
#82847F

Preview Lab

Preview with #A8CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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