#AFFA58#AFFA58

#AFFA58 is a very light, highly saturated yellow-green. Relative luminance 0.782; OKLCH L 90.5% C 0.205 H 130.8°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#AFFA58
RGBrgb(175, 250, 88)
HSLhsl(88, 94%, 66%)
HSVhsv(88, 65%, 98%)
CMYKcmyk(30%, 0%, 64.8%, 2%)
CIE-LABlab(90.87, -47.47, 67.79)
CIE-LCHlch(90.87, 82.76, 125.00°)
OKLaboklab(90.52% -0.1338 0.1549)
OKLCHoklch(90.52% 0.205 130.8)
XYZxyz(53.6258, 78.1881, 21.4970)
Luminance0.7819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA58 #A358FA
analogous
#FAF458 #AFFA58 #5EFA58
triadic
#AFFA58 #58AFFA #FA58AF
tetradic
#AFFA58 #58FAF4 #A358FA #FA585E
square
#AFFA58 #58FAF4 #A358FA #FA585E
split-complementary
#AFFA58 #585EFA #F458FA
monochromatic
#73D106 #93F81D #AFFA58 #CBFC93 #E8FECF

Accessibility & contrast

On white

1.26
#AFFA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#AFFA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA58
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA58#FFFFFF#000000##000000
##AFFA581.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE842
Deuteranopia (green-blind)
#FAE365
Tritanopia (blue-blind)
#B2F0D9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #affa58;
/* rgb */ color: rgb(175, 250, 88);
/* oklch */ color: oklch(90.5% 0.205 130.8);
Tailwind
colors: {
  custom: {
    50: '#cbfc8e',
    500: '#affa58',
    950: '#000000',
  },
}
SCSS
$custom: #affa58;
$custom-light: #cbfc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#affa58",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 88
  },
  "hsl": {
    "h": 87.778,
    "s": 94.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.90516,
    "c": 0.20473,
    "h": 130.8
  },
  "luminance": 0.7819
}

Semantic roles & 50–950 ramp

primary
#AFFA58
secondary
#752ACC
accent
#00E66A
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFFA58

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

Preview Lab → · Contrast checker → · Palette generator →

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