#AFD062#AFD062

#AFD062 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 81.0% C 0.142 H 123.4°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#AFD062
RGBrgb(175, 208, 98)
HSLhsl(78, 54%, 60%)
HSVhsv(78, 53%, 82%)
CMYKcmyk(15.9%, 0%, 52.9%, 18.4%)
CIE-LABlab(79.10, -27.76, 50.37)
CIE-LCHlch(79.10, 57.51, 118.86°)
OKLaboklab(81.03% -0.0785 0.1188)
OKLCHoklch(81.03% 0.142 123.4)
XYZxyz(42.4398, 55.1074, 19.9538)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD062 #8362D0
analogous
#D0BA62 #AFD062 #78D062
triadic
#AFD062 #62AFD0 #D062AF
tetradic
#AFD062 #62D0BA #8362D0 #D06278
square
#AFD062 #62D0BA #8362D0 #D06278
split-complementary
#AFD062 #6278D0 #BA62D0
monochromatic
#708D2A #95BC38 #AFD062 #C7DE91 #DFECC0

Accessibility & contrast

On white

1.75
#AFD062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#AFD062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD062
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD062#FFFFFF#000000##000000
##AFD0621.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC558
Deuteranopia (green-blind)
#D6C469
Tritanopia (blue-blind)
#B6C7B7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd062;
/* rgb */ color: rgb(175, 208, 98);
/* oklch */ color: oklch(81.0% 0.142 123.4);
Tailwind
colors: {
  custom: {
    50: '#c9de92',
    500: '#afd062',
    950: '#000000',
  },
}
SCSS
$custom: #afd062;
$custom-light: #c9de92;
$custom-dark: #000000;
JSON
{
  "hex": "#afd062",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 78,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.81026,
    "c": 0.1424,
    "h": 123.4
  },
  "luminance": 0.55108
}

Semantic roles & 50–950 ramp

primary
#AFD062
secondary
#5B4394
accent
#4BDD77
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD062

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

Preview Lab → · Contrast checker → · Palette generator →

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