#AFFB74#AFFB74

#AFFB74 is a very light, vivid yellow-green. Relative luminance 0.794; OKLCH L 91.0% C 0.184 H 133.3°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#AFFB74
RGBrgb(175, 251, 116)
HSLhsl(94, 94%, 72%)
HSVhsv(94, 54%, 98%)
CMYKcmyk(30.3%, 0%, 53.8%, 1.6%)
CIE-LABlab(91.40, -45.45, 56.61)
CIE-LCHlch(91.40, 72.59, 128.76°)
OKLaboklab(91.03% -0.1262 0.1339)
OKLCHoklch(91.03% 0.184 133.3)
XYZxyz(55.3278, 79.3674, 28.9239)
Luminance0.7937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB74 #C074FB
analogous
#F2FB74 #AFFB74 #74FB7D
triadic
#AFFB74 #74AFFB #FB74AF
tetradic
#AFFB74 #74F2FB #C074FB #FB7D74
square
#AFFB74 #74F2FB #C074FB #FB7D74
split-complementary
#AFFB74 #7D74FB #FB74F2
monochromatic
#6CEE07 #8DF939 #AFFB74 #D1FDAF #EEFEE1

Accessibility & contrast

On white

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

On black

16.87
#AFFB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB74
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB74#FFFFFF#000000##000000
##AFFB741.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA67
Deuteranopia (green-blind)
#F9E47D
Tritanopia (blue-blind)
#B0F2DD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affb74;
/* rgb */ color: rgb(175, 251, 116);
/* oklch */ color: oklch(91.0% 0.184 133.3);
Tailwind
colors: {
  custom: {
    50: '#cafd9f',
    500: '#affb74',
    950: '#000000',
  },
}
SCSS
$custom: #affb74;
$custom-light: #cafd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#affb74",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 116
  },
  "hsl": {
    "h": 93.778,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91031,
    "c": 0.18396,
    "h": 133.3
  },
  "luminance": 0.79369
}

Semantic roles & 50–950 ramp

primary
#AFFB74
secondary
#933CD7
accent
#00E681
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFB74

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

Preview Lab → · Contrast checker → · Palette generator →

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