#AFD358#AFD358

#AFD358 is a light, vivid yellow-green. Relative luminance 0.564; OKLCH L 81.6% C 0.155 H 123.5°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#AFD358
RGBrgb(175, 211, 88)
HSLhsl(78, 58%, 59%)
HSVhsv(78, 58%, 83%)
CMYKcmyk(17.1%, 0%, 58.3%, 17.3%)
CIE-LABlab(79.84, -30.08, 55.76)
CIE-LCHlch(79.84, 63.35, 118.34°)
OKLaboklab(81.59% -0.0858 0.1294)
OKLCHoklch(81.59% 0.155 123.5)
XYZxyz(42.7352, 56.4068, 17.8668)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD358 #7C58D3
analogous
#D3B958 #AFD358 #71D358
triadic
#AFD358 #58AFD3 #D358AF
tetradic
#AFD358 #58D3B9 #7C58D3 #D35871
square
#AFD358 #58D3B9 #7C58D3 #D35871
split-complementary
#AFD358 #5871D3 #B958D3
monochromatic
#6E8C25 #94BC32 #AFD358 #C6E088 #DDEDB9

Accessibility & contrast

On white

1.71
#AFD358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#AFD358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD358
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD358#FFFFFF#000000##000000
##AFD3581.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74B
Deuteranopia (green-blind)
#D9C660
Tritanopia (blue-blind)
#B7C9B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd358;
/* rgb */ color: rgb(175, 211, 88);
/* oklch */ color: oklch(81.6% 0.155 123.5);
Tailwind
colors: {
  custom: {
    50: '#c9e08b',
    500: '#afd358',
    950: '#000000',
  },
}
SCSS
$custom: #afd358;
$custom-light: #c9e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd358",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 88
  },
  "hsl": {
    "h": 77.561,
    "s": 58.294,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8159,
    "c": 0.15529,
    "h": 123.5
  },
  "luminance": 0.56407
}

Semantic roles & 50–950 ramp

primary
#AFD358
secondary
#563D92
accent
#46E274
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD358

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

Preview Lab → · Contrast checker → · Palette generator →

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