#AFD458#AFD458

#AFD458 is a light, vivid yellow-green. Relative luminance 0.569; OKLCH L 81.8% C 0.157 H 123.8°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#AFD458
RGBrgb(175, 212, 88)
HSLhsl(78, 59%, 59%)
HSVhsv(78, 58%, 83%)
CMYKcmyk(17.5%, 0%, 58.5%, 16.9%)
CIE-LABlab(80.13, -30.55, 56.07)
CIE-LCHlch(80.13, 63.85, 118.58°)
OKLaboklab(81.82% -0.0871 0.1301)
OKLCHoklch(81.82% 0.157 123.8)
XYZxyz(42.9844, 56.9052, 17.9499)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD458 #7D58D4
analogous
#D4BB58 #AFD458 #71D458
triadic
#AFD458 #58AFD4 #D458AF
tetradic
#AFD458 #58D4BB #7D58D4 #D45871
square
#AFD458 #58D4BB #7D58D4 #D45871
split-complementary
#AFD458 #5871D4 #BB58D4
monochromatic
#6E8D24 #94BE31 #AFD458 #C6E189 #DEEDB9

Accessibility & contrast

On white

1.70
#AFD458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#AFD458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD458
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD458#FFFFFF#000000##000000
##AFD4581.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84A
Deuteranopia (green-blind)
#DAC660
Tritanopia (blue-blind)
#B6CAB9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd458;
/* rgb */ color: rgb(175, 212, 88);
/* oklch */ color: oklch(81.8% 0.157 123.8);
Tailwind
colors: {
  custom: {
    50: '#c9e18b',
    500: '#afd458',
    950: '#000000',
  },
}
SCSS
$custom: #afd458;
$custom-light: #c9e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd458",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 88
  },
  "hsl": {
    "h": 77.903,
    "s": 59.048,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81817,
    "c": 0.15658,
    "h": 123.8
  },
  "luminance": 0.56906
}

Semantic roles & 50–950 ramp

primary
#AFD458
secondary
#573D93
accent
#46E274
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD458

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

Preview Lab → · Contrast checker → · Palette generator →

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