#AFD657#AFD657

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

Color values

HEX#AFD657
RGBrgb(175, 214, 87)
HSLhsl(78, 61%, 59%)
HSVhsv(78, 59%, 84%)
CMYKcmyk(18.2%, 0%, 59.3%, 16.1%)
CIE-LABlab(80.68, -31.57, 57.13)
CIE-LCHlch(80.68, 65.27, 118.92°)
OKLaboklab(82.26% -0.09 0.1322)
OKLCHoklch(82.26% 0.16 124.3)
XYZxyz(43.4463, 57.8949, 17.9009)
Luminance0.5789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD657 #7E57D6
analogous
#D6BE57 #AFD657 #70D657
triadic
#AFD657 #57AFD6 #D657AF
tetradic
#AFD657 #57D6BE #7E57D6 #D65770
square
#AFD657 #57D6BE #7E57D6 #D65770
split-complementary
#AFD657 #5770D6 #BE57D6
monochromatic
#6E9023 #94C12F #AFD657 #C6E288 #DEEEB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD657#FFFFFF#000000##000000
##AFD6571.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)
#E1C949
Deuteranopia (green-blind)
#DCC860
Tritanopia (blue-blind)
#B6CCBB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd657;
/* rgb */ color: rgb(175, 214, 87);
/* oklch */ color: oklch(82.3% 0.160 124.3);
Tailwind
colors: {
  custom: {
    50: '#cae28b',
    500: '#afd657',
    950: '#000000',
  },
}
SCSS
$custom: #afd657;
$custom-light: #cae28b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd657",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 87
  },
  "hsl": {
    "h": 78.425,
    "s": 60.766,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82261,
    "c": 0.15998,
    "h": 124.3
  },
  "luminance": 0.57895
}

Semantic roles & 50–950 ramp

primary
#AFD657
secondary
#573C95
accent
#44E475
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD657

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

Preview Lab → · Contrast checker → · Palette generator →

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