#AFD758#AFD758

#AFD758 is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.5% C 0.160 H 124.6°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#AFD758
RGBrgb(175, 215, 88)
HSLhsl(79, 61%, 59%)
HSVhsv(79, 59%, 84%)
CMYKcmyk(18.6%, 0%, 59.1%, 15.7%)
CIE-LABlab(80.97, -31.95, 57.02)
CIE-LCHlch(80.97, 65.36, 119.26°)
OKLaboklab(82.5% -0.091 0.1321)
OKLCHoklch(82.5% 0.16 124.6)
XYZxyz(43.7413, 58.4191, 18.2022)
Luminance0.5842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD758 #8058D7
analogous
#D7C058 #AFD758 #6FD758
triadic
#AFD758 #58AFD7 #D758AF
tetradic
#AFD758 #58D7C0 #8058D7 #D7586F
square
#AFD758 #58D7C0 #8058D7 #D7586F
split-complementary
#AFD758 #586FD7 #C058D7
monochromatic
#6F9223 #94C32F #AFD758 #C7E389 #DEEFBB

Accessibility & contrast

On white

1.66
#AFD758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#AFD758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD758
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD758#FFFFFF#000000##000000
##AFD7581.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4A
Deuteranopia (green-blind)
#DDC961
Tritanopia (blue-blind)
#B6CDBC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd758;
/* rgb */ color: rgb(175, 215, 88);
/* oklch */ color: oklch(82.5% 0.160 124.6);
Tailwind
colors: {
  custom: {
    50: '#cae38c',
    500: '#afd758',
    950: '#000000',
  },
}
SCSS
$custom: #afd758;
$custom-light: #cae38c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd758",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 78.898,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82499,
    "c": 0.16043,
    "h": 124.6
  },
  "luminance": 0.58419
}

Semantic roles & 50–950 ramp

primary
#AFD758
secondary
#593C97
accent
#43E476
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD758

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

Preview Lab → · Contrast checker → · Palette generator →

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