#AFEB74#AFEB74

#AFEB74 is a very light, vivid yellow-green. Relative luminance 0.698; OKLCH L 87.4% C 0.162 H 131.1°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#AFEB74
RGBrgb(175, 235, 116)
HSLhsl(90, 75%, 69%)
HSVhsv(90, 51%, 92%)
CMYKcmyk(25.5%, 0%, 50.6%, 7.8%)
CIE-LABlab(86.89, -38.43, 51.25)
CIE-LCHlch(86.89, 64.06, 126.87°)
OKLaboklab(87.38% -0.1068 0.1222)
OKLCHoklch(87.38% 0.162 131.1)
XYZxyz(50.5393, 69.7903, 27.3278)
Luminance0.6979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB74 #B074EB
analogous
#EBEB74 #AFEB74 #74EB75
triadic
#AFEB74 #74AFEB #EB74AF
tetradic
#AFEB74 #74EBEB #B074EB #EB7574
square
#AFEB74 #74EBEB #B074EB #EB7574
split-complementary
#AFEB74 #7574EB #EB74EB
monochromatic
#72C81D #90E33E #AFEB74 #CEF3AA #EDFADF

Accessibility & contrast

On white

1.40
#AFEB74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#AFEB74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB74
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB74#FFFFFF#000000##000000
##AFEB741.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD69
Deuteranopia (green-blind)
#EBD87C
Tritanopia (blue-blind)
#B2E3D0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afeb74;
/* rgb */ color: rgb(175, 235, 116);
/* oklch */ color: oklch(87.4% 0.162 131.1);
Tailwind
colors: {
  custom: {
    50: '#c9f19f',
    500: '#afeb74',
    950: '#000000',
  },
}
SCSS
$custom: #afeb74;
$custom-light: #c9f19f;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb74",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 116
  },
  "hsl": {
    "h": 90.252,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87378,
    "c": 0.16226,
    "h": 131.1
  },
  "luminance": 0.69792
}

Semantic roles & 50–950 ramp

primary
#AFEB74
secondary
#8240C3
accent
#0FD774
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEB74

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

Preview Lab → · Contrast checker → · Palette generator →

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