#AFFC74#AFFC74

#AFFC74 is a very light, vivid yellow-green. Relative luminance 0.800; OKLCH L 91.3% C 0.185 H 133.4°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#AFFC74
RGBrgb(175, 252, 116)
HSLhsl(94, 96%, 72%)
HSVhsv(94, 54%, 99%)
CMYKcmyk(30.6%, 0%, 54%, 1.2%)
CIE-LABlab(91.68, -45.88, 56.94)
CIE-LCHlch(91.68, 73.12, 128.86°)
OKLaboklab(91.26% -0.1273 0.1346)
OKLCHoklch(91.26% 0.185 133.4)
XYZxyz(55.6410, 79.9938, 29.0283)
Luminance0.8000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC74 #C174FC
analogous
#F3FC74 #AFFC74 #74FC7D
triadic
#AFFC74 #74AFFC #FC74AF
tetradic
#AFFC74 #74F3FC #C174FC #FC7D74
square
#AFFC74 #74F3FC #C174FC #FC7D74
split-complementary
#AFFC74 #7D74FC #FC74F3
monochromatic
#6BF005 #8DFB38 #AFFC74 #D1FDB0 #EEFEE1

Accessibility & contrast

On white

1.24
#AFFC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.00
#AFFC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC74
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC74#FFFFFF#000000##000000
##AFFC741.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB67
Deuteranopia (green-blind)
#FAE57D
Tritanopia (blue-blind)
#B0F3DE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc74;
/* rgb */ color: rgb(175, 252, 116);
/* oklch */ color: oklch(91.3% 0.185 133.4);
Tailwind
colors: {
  custom: {
    50: '#cafe9f',
    500: '#affc74',
    950: '#000000',
  },
}
SCSS
$custom: #affc74;
$custom-light: #cafe9f;
$custom-dark: #000000;
JSON
{
  "hex": "#affc74",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 116
  },
  "hsl": {
    "h": 93.971,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9126,
    "c": 0.18529,
    "h": 133.4
  },
  "luminance": 0.79996
}

Semantic roles & 50–950 ramp

primary
#AFFC74
secondary
#943CD8
accent
#00E682
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFC74

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

Preview Lab → · Contrast checker → · Palette generator →

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