#AFE37B#AFE37B

#AFE37B is a very light, vivid yellow-green. Relative luminance 0.655; OKLCH L 85.7% C 0.144 H 130.7°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#AFE37B
RGBrgb(175, 227, 123)
HSLhsl(90, 65%, 69%)
HSVhsv(90, 46%, 89%)
CMYKcmyk(22.9%, 0%, 45.8%, 11%)
CIE-LABlab(84.73, -34.02, 45.28)
CIE-LCHlch(84.73, 56.64, 126.92°)
OKLaboklab(85.66% -0.094 0.1094)
OKLCHoklch(85.66% 0.144 130.7)
XYZxyz(48.7228, 65.4811, 28.8072)
Luminance0.6548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE37B #AF7BE3
analogous
#E3E37B #AFE37B #7BE37B
triadic
#AFE37B #7BAFE3 #E37BAF
tetradic
#AFE37B #7BE3E3 #AF7BE3 #E37B7B
square
#AFE37B #7BE3E3 #AF7BE3 #E37B7B
split-complementary
#AFE37B #7B7BE3 #E37BE3
monochromatic
#72BC28 #90D849 #AFE37B #CEEEAD #ECF8E0

Accessibility & contrast

On white

1.49
#AFE37B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.10
#AFE37B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE37B
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE37B#FFFFFF#000000##000000
##AFE37B1.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD672
Deuteranopia (green-blind)
#E4D281
Tritanopia (blue-blind)
#B2DBCA
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe37b;
/* rgb */ color: rgb(175, 227, 123);
/* oklch */ color: oklch(85.7% 0.144 130.7);
Tailwind
colors: {
  custom: {
    50: '#c9eca3',
    500: '#afe37b',
    950: '#000000',
  },
}
SCSS
$custom: #afe37b;
$custom-light: #c9eca3;
$custom-dark: #000000;
JSON
{
  "hex": "#afe37b",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 123
  },
  "hsl": {
    "h": 90,
    "s": 65,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85658,
    "c": 0.14427,
    "h": 130.7
  },
  "luminance": 0.65482
}

Semantic roles & 50–950 ramp

primary
#AFE37B
secondary
#8148BA
accent
#19CD73
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE37B

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

Preview Lab → · Contrast checker → · Palette generator →

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