#AFFA57#AFFA57

#AFFA57 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.63:1 contrast (WCAG AA passes).

Color values

HEX#AFFA57
RGBrgb(175, 250, 87)
HSLhsl(88, 94%, 66%)
HSVhsv(88, 65%, 98%)
CMYKcmyk(30%, 0%, 65.2%, 2%)
CIE-LABlab(90.86, -47.54, 68.17)
CIE-LCHlch(90.86, 83.11, 124.89°)
OKLaboklab(90.51% -0.1341 0.1556)
OKLCHoklch(90.51% 0.205 130.8)
XYZxyz(53.5846, 78.1716, 21.2804)
Luminance0.7817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA57 #A257FA
analogous
#FAF357 #AFFA57 #5DFA57
triadic
#AFFA57 #57AFFA #FA57AF
tetradic
#AFFA57 #57FAF3 #A257FA #FA575D
square
#AFFA57 #57FAF3 #A257FA #FA575D
split-complementary
#AFFA57 #575DFA #F357FA
monochromatic
#73D006 #93F81C #AFFA57 #CBFC92 #E8FECE

Accessibility & contrast

On white

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

On black

16.63
#AFFA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA57
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA57#FFFFFF#000000##000000
##AFFA571.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #affa57;
/* rgb */ color: rgb(175, 250, 87);
/* oklch */ color: oklch(90.5% 0.205 130.8);
Tailwind
colors: {
  custom: {
    50: '#cbfc8e',
    500: '#affa57',
    950: '#000000',
  },
}
SCSS
$custom: #affa57;
$custom-light: #cbfc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#affa57",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 87
  },
  "hsl": {
    "h": 87.607,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.90507,
    "c": 0.20542,
    "h": 130.8
  },
  "luminance": 0.78173
}

Semantic roles & 50–950 ramp

primary
#AFFA57
secondary
#742ACB
accent
#00E66A
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFFA57

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

Preview Lab → · Contrast checker → · Palette generator →

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