#AFD658#AFD658

#AFD658 is a very light, vivid yellow-green. Relative luminance 0.579; OKLCH L 82.3% C 0.159 H 124.3°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#AFD658
RGBrgb(175, 214, 88)
HSLhsl(79, 61%, 59%)
HSVhsv(79, 59%, 84%)
CMYKcmyk(18.2%, 0%, 58.9%, 16.1%)
CIE-LABlab(80.69, -31.48, 56.70)
CIE-LCHlch(80.69, 64.86, 119.04°)
OKLaboklab(82.27% -0.0897 0.1315)
OKLCHoklch(82.27% 0.159 124.3)
XYZxyz(43.4874, 57.9113, 18.1176)
Luminance0.5791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD658 #7F58D6
analogous
#D6BE58 #AFD658 #70D658
triadic
#AFD658 #58AFD6 #D658AF
tetradic
#AFD658 #58D6BE #7F58D6 #D65870
square
#AFD658 #58D6BE #7F58D6 #D65870
split-complementary
#AFD658 #5870D6 #BE58D6
monochromatic
#6F9023 #94C12F #AFD658 #C7E289 #DEEEBA

Accessibility & contrast

On white

1.67
#AFD658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#AFD658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD658
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD658#FFFFFF#000000##000000
##AFD6581.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4A
Deuteranopia (green-blind)
#DCC861
Tritanopia (blue-blind)
#B6CCBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd658;
/* rgb */ color: rgb(175, 214, 88);
/* oklch */ color: oklch(82.3% 0.159 124.3);
Tailwind
colors: {
  custom: {
    50: '#c9e28c',
    500: '#afd658',
    950: '#000000',
  },
}
SCSS
$custom: #afd658;
$custom-light: #c9e28c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd658",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 88
  },
  "hsl": {
    "h": 78.571,
    "s": 60.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82272,
    "c": 0.15915,
    "h": 124.3
  },
  "luminance": 0.57912
}

Semantic roles & 50–950 ramp

primary
#AFD658
secondary
#583D96
accent
#44E475
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD658

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

Preview Lab → · Contrast checker → · Palette generator →

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