#AFE362#AFE362

#AFE362 is a very light, vivid yellow-green. Relative luminance 0.649; OKLCH L 85.3% C 0.168 H 127.9°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#AFE362
RGBrgb(175, 227, 98)
HSLhsl(84, 70%, 64%)
HSVhsv(84, 57%, 89%)
CMYKcmyk(22.9%, 0%, 56.8%, 11%)
CIE-LABlab(84.45, -36.60, 56.56)
CIE-LCHlch(84.45, 67.37, 122.90°)
OKLaboklab(85.34% -0.103 0.1322)
OKLCHoklch(85.34% 0.168 127.9)
XYZxyz(47.3527, 64.9331, 21.5915)
Luminance0.6493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE362 #9662E3
analogous
#E3D662 #AFE362 #6EE362
triadic
#AFE362 #62AFE3 #E362AF
tetradic
#AFE362 #62E3D6 #9662E3 #E3626E
square
#AFE362 #62E3D6 #9662E3 #E3626E
split-complementary
#AFE362 #626EE3 #D662E3
monochromatic
#73AC1F #95DA2E #AFE362 #C9EC96 #E4F6CA

Accessibility & contrast

On white

1.50
#AFE362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#AFE362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE362
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE362#FFFFFF#000000##000000
##AFE3621.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD555
Deuteranopia (green-blind)
#E6D26B
Tritanopia (blue-blind)
#B4DAC7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe362;
/* rgb */ color: rgb(175, 227, 98);
/* oklch */ color: oklch(85.3% 0.168 127.9);
Tailwind
colors: {
  custom: {
    50: '#caec93',
    500: '#afe362',
    950: '#000000',
  },
}
SCSS
$custom: #afe362;
$custom-light: #caec93;
$custom-dark: #000000;
JSON
{
  "hex": "#afe362",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 98
  },
  "hsl": {
    "h": 84.186,
    "s": 69.73,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85339,
    "c": 0.16762,
    "h": 127.9
  },
  "luminance": 0.64934
}

Semantic roles & 50–950 ramp

primary
#AFE362
secondary
#6A3CAE
accent
#14D260
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE362

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

Preview Lab → · Contrast checker → · Palette generator →

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