#AFD027#AFD027

#AFD027 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.5% C 0.183 H 120.9°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#AFD027
RGBrgb(175, 208, 39)
HSLhsl(72, 68%, 48%)
HSVhsv(72, 81%, 82%)
CMYKcmyk(15.9%, 0%, 81.3%, 18.4%)
CIE-LABlab(78.68, -31.53, 72.18)
CIE-LCHlch(78.68, 78.77, 113.60°)
OKLaboklab(80.55% -0.0939 0.1569)
OKLCHoklch(80.55% 0.183 120.9)
XYZxyz(40.6021, 54.3723, 10.2750)
Luminance0.5437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD027 #4827D0
analogous
#D09C27 #AFD027 #5AD027
triadic
#AFD027 #27AFD0 #D027AF
tetradic
#AFD027 #27D09C #4827D0 #D0275A
square
#AFD027 #27D09C #4827D0 #D0275A
split-complementary
#AFD027 #275AD0 #9C27D0
monochromatic
#586914 #849C1D #AFD027 #C4DF55 #D6E989

Accessibility & contrast

On white

1.77
#AFD027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#AFD027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD027
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD027#FFFFFF#000000##000000
##AFD0271.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC300
Deuteranopia (green-blind)
#D9C33A
Tritanopia (blue-blind)
#B9C5B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd027;
/* rgb */ color: rgb(175, 208, 39);
/* oklch */ color: oklch(80.5% 0.183 120.9);
Tailwind
colors: {
  custom: {
    50: '#cbde72',
    500: '#afd027',
    950: '#000000',
  },
}
SCSS
$custom: #afd027;
$custom-light: #cbde72;
$custom-dark: #000000;
JSON
{
  "hex": "#afd027",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 39
  },
  "hsl": {
    "h": 71.716,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80547,
    "c": 0.1829,
    "h": 120.9
  },
  "luminance": 0.54372
}

Semantic roles & 50–950 ramp

primary
#AFD027
secondary
#372873
accent
#3DEB5F
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #AFD027

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

Preview Lab → · Contrast checker → · Palette generator →

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