#AFE378#AFE378

#AFE378 is a very light, vivid yellow-green. Relative luminance 0.654; OKLCH L 85.6% C 0.147 H 130.3°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#AFE378
RGBrgb(175, 227, 120)
HSLhsl(89, 66%, 68%)
HSVhsv(89, 47%, 89%)
CMYKcmyk(22.9%, 0%, 47.1%, 11%)
CIE-LABlab(84.69, -34.37, 46.68)
CIE-LCHlch(84.69, 57.97, 126.36°)
OKLaboklab(85.62% -0.0952 0.1124)
OKLCHoklch(85.62% 0.147 130.3)
XYZxyz(48.5379, 65.4072, 27.8333)
Luminance0.6541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE378 #AC78E3
analogous
#E3E178 #AFE378 #79E378
triadic
#AFE378 #78AFE3 #E378AF
tetradic
#AFE378 #78E3E1 #AC78E3 #E37879
square
#AFE378 #78E3E1 #AC78E3 #E37879
split-complementary
#AFE378 #7879E3 #E178E3
monochromatic
#72BA27 #91D845 #AFE378 #CDEEAB #EBF8DD

Accessibility & contrast

On white

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

On black

14.08
#AFE378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE378
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE378#FFFFFF#000000##000000
##AFE3781.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe378;
/* rgb */ color: rgb(175, 227, 120);
/* oklch */ color: oklch(85.6% 0.147 130.3);
Tailwind
colors: {
  custom: {
    50: '#c9eca1',
    500: '#afe378',
    950: '#000000',
  },
}
SCSS
$custom: #afe378;
$custom-light: #c9eca1;
$custom-dark: #000000;
JSON
{
  "hex": "#afe378",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 120
  },
  "hsl": {
    "h": 89.159,
    "s": 65.644,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85615,
    "c": 0.14726,
    "h": 130.3
  },
  "luminance": 0.65408
}

Semantic roles & 50–950 ramp

primary
#AFE378
secondary
#7E45BA
accent
#18CD70
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE378

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

Preview Lab → · Contrast checker → · Palette generator →

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