#AFE146#AFE146

#AFE146 is a very light, vivid yellow-green. Relative luminance 0.634; OKLCH L 84.6% C 0.186 H 125.8°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#AFE146
RGBrgb(175, 225, 70)
HSLhsl(79, 72%, 58%)
HSVhsv(79, 69%, 88%)
CMYKcmyk(22.2%, 0%, 68.9%, 11.8%)
CIE-LABlab(83.66, -37.81, 67.11)
CIE-LCHlch(83.66, 77.03, 119.40°)
OKLaboklab(84.62% -0.1088 0.1511)
OKLCHoklch(84.62% 0.186 125.8)
XYZxyz(45.7101, 63.4060, 15.6235)
Luminance0.6341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE146 #7846E1
analogous
#E1C646 #AFE146 #61E146
triadic
#AFE146 #46AFE1 #E146AF
tetradic
#AFE146 #46E1C6 #7846E1 #E14661
square
#AFE146 #46E1C6 #7846E1 #E14661
split-complementary
#AFE146 #4661E1 #C646E1
monochromatic
#6C9518 #93C921 #AFE146 #C6EA7B #DDF2AF

Accessibility & contrast

On white

1.53
#AFE146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#AFE146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE146
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE146#FFFFFF#000000##000000
##AFE1461.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD22D
Deuteranopia (green-blind)
#E6D053
Tritanopia (blue-blind)
#B6D7C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe146;
/* rgb */ color: rgb(175, 225, 70);
/* oklch */ color: oklch(84.6% 0.186 125.8);
Tailwind
colors: {
  custom: {
    50: '#cbea82',
    500: '#afe146',
    950: '#000000',
  },
}
SCSS
$custom: #afe146;
$custom-light: #cbea82;
$custom-dark: #000000;
JSON
{
  "hex": "#afe146",
  "rgb": {
    "r": 175,
    "g": 225,
    "b": 70
  },
  "hsl": {
    "h": 79.355,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84623,
    "c": 0.1862,
    "h": 125.8
  },
  "luminance": 0.63407
}

Semantic roles & 50–950 ramp

primary
#AFE146
secondary
#533299
accent
#39EF74
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFE146

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

Preview Lab → · Contrast checker → · Palette generator →

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