#A8CF4F#A8CF4F

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

Color values

HEX#A8CF4F
RGBrgb(168, 207, 79)
HSLhsl(78, 57%, 56%)
HSVhsv(78, 62%, 81%)
CMYKcmyk(18.8%, 0%, 61.8%, 18.8%)
CIE-LABlab(78.18, -31.64, 57.67)
CIE-LCHlch(78.18, 65.78, 118.75°)
OKLaboklab(80.1% -0.0906 0.1326)
OKLCHoklch(80.1% 0.161 124.3)
XYZxyz(39.8728, 53.5147, 15.6244)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8CF4F #764FCF
analogous
#CFB64F #A8CF4F #68CF4F
triadic
#A8CF4F #4FA8CF #CF4FA8
tetradic
#A8CF4F #4FCFB6 #764FCF #CF4F68
square
#A8CF4F #4FCFB6 #764FCF #CF4F68
split-complementary
#A8CF4F #4F68CF #B64FCF
monochromatic
#648123 #89B130 #A8CF4F #C0DC7F #D8E9AF

Accessibility & contrast

On white

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

On black

11.70
#A8CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8CF4F
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8CF4F#FFFFFF#000000##000000
##A8CF4F1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8cf4f;
/* rgb */ color: rgb(168, 207, 79);
/* oklch */ color: oklch(80.1% 0.161 124.3);
Tailwind
colors: {
  custom: {
    50: '#c5dd86',
    500: '#a8cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #a8cf4f;
$custom-light: #c5dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#a8cf4f",
  "rgb": {
    "r": 168,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 78.281,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80104,
    "c": 0.16055,
    "h": 124.3
  },
  "luminance": 0.53515
}

Semantic roles & 50–950 ramp

primary
#A8CF4F
secondary
#523A88
accent
#47E076
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A8CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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