#AFE348#AFE348

#AFE348 is a very light, vivid yellow-green. Relative luminance 0.645; OKLCH L 85.1% C 0.187 H 126.2°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#AFE348
RGBrgb(175, 227, 72)
HSLhsl(80, 73%, 59%)
HSVhsv(80, 68%, 89%)
CMYKcmyk(22.9%, 0%, 68.3%, 11%)
CIE-LABlab(84.24, -38.58, 66.97)
CIE-LCHlch(84.24, 77.29, 119.95°)
OKLaboklab(85.1% -0.1107 0.1511)
OKLCHoklch(85.1% 0.187 126.2)
XYZxyz(46.3182, 64.5193, 16.1429)
Luminance0.6452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE348 #7C48E3
analogous
#E3C948 #AFE348 #61E348
triadic
#AFE348 #48AFE3 #E348AF
tetradic
#AFE348 #48E3C9 #7C48E3 #E34861
square
#AFE348 #48E3C9 #7C48E3 #E34861
split-complementary
#AFE348 #4861E3 #C948E3
monochromatic
#6E9917 #94CE20 #AFE348 #C6EB7D #DDF3B2

Accessibility & contrast

On white

1.51
#AFE348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#AFE348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE348
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE348#FFFFFF#000000##000000
##AFE3481.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD430
Deuteranopia (green-blind)
#E8D155
Tritanopia (blue-blind)
#B6D9C4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe348;
/* rgb */ color: rgb(175, 227, 72);
/* oklch */ color: oklch(85.1% 0.187 126.2);
Tailwind
colors: {
  custom: {
    50: '#cbec83',
    500: '#afe348',
    950: '#000000',
  },
}
SCSS
$custom: #afe348;
$custom-light: #cbec83;
$custom-dark: #000000;
JSON
{
  "hex": "#afe348",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 72
  },
  "hsl": {
    "h": 80.129,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85097,
    "c": 0.18733,
    "h": 126.2
  },
  "luminance": 0.6452
}

Semantic roles & 50–950 ramp

primary
#AFE348
secondary
#56329D
accent
#38F076
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFE348

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

Preview Lab → · Contrast checker → · Palette generator →

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