#AFE958#AFE958

#AFE958 is a very light, vivid yellow-green. Relative luminance 0.681; OKLCH L 86.6% C 0.183 H 128.3°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#AFE958
RGBrgb(175, 233, 88)
HSLhsl(84, 77%, 63%)
HSVhsv(84, 62%, 91%)
CMYKcmyk(24.9%, 0%, 62.2%, 8.6%)
CIE-LABlab(86.05, -40.12, 62.62)
CIE-LCHlch(86.05, 74.37, 122.65°)
OKLaboklab(86.61% -0.1136 0.144)
OKLCHoklch(86.61% 0.183 128.3)
XYZxyz(48.5794, 68.0954, 19.8149)
Luminance0.6810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE958 #9258E9
analogous
#E9DB58 #AFE958 #66E958
triadic
#AFE958 #58AFE9 #E958AF
tetradic
#AFE958 #58E9DB #9258E9 #E95866
square
#AFE958 #58E9DB #9258E9 #E95866
split-complementary
#AFE958 #5866E9 #DB58E9
monochromatic
#73AF17 #95E222 #AFE958 #C9F08E #E3F7C4

Accessibility & contrast

On white

1.44
#AFE958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.62
#AFE958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE958
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE958#FFFFFF#000000##000000
##AFE9581.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DA46
Deuteranopia (green-blind)
#ECD663
Tritanopia (blue-blind)
#B4DFCB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe958;
/* rgb */ color: rgb(175, 233, 88);
/* oklch */ color: oklch(86.6% 0.183 128.3);
Tailwind
colors: {
  custom: {
    50: '#caf08d',
    500: '#afe958',
    950: '#000000',
  },
}
SCSS
$custom: #afe958;
$custom-light: #caf08d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe958",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 88
  },
  "hsl": {
    "h": 84,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.86609,
    "c": 0.18344,
    "h": 128.3
  },
  "luminance": 0.68096
}

Semantic roles & 50–950 ramp

primary
#AFE958
secondary
#6635B0
accent
#0DD95E
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE958

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

Preview Lab → · Contrast checker → · Palette generator →

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