#AFEA5F#AFEA5F

#AFEA5F is a very light, vivid yellow-green. Relative luminance 0.688; OKLCH L 86.9% C 0.179 H 129.0°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#AFEA5F
RGBrgb(175, 234, 95)
HSLhsl(85, 77%, 65%)
HSVhsv(85, 59%, 92%)
CMYKcmyk(25.2%, 0%, 59.4%, 8.2%)
CIE-LABlab(86.40, -39.99, 60.06)
CIE-LCHlch(86.40, 72.16, 123.66°)
OKLaboklab(86.91% -0.1127 0.1394)
OKLCHoklch(86.91% 0.179 129)
XYZxyz(49.1673, 68.7847, 21.5106)
Luminance0.6879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA5F #9A5FEA
analogous
#EAE05F #AFEA5F #69EA5F
triadic
#AFEA5F #5FAFEA #EA5FAF
tetradic
#AFEA5F #5FEAE0 #9A5FEA #EA5F69
square
#AFEA5F #5FEAE0 #9A5FEA #EA5F69
split-complementary
#AFEA5F #5F69EA #E05FEA
monochromatic
#73B718 #94E329 #AFEA5F #CAF195 #E5F8CB

Accessibility & contrast

On white

1.42
#AFEA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#AFEA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA5F
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA5F#FFFFFF#000000##000000
##AFEA5F1.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DB4F
Deuteranopia (green-blind)
#ECD769
Tritanopia (blue-blind)
#B4E0CC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afea5f;
/* rgb */ color: rgb(175, 234, 95);
/* oklch */ color: oklch(86.9% 0.179 129.0);
Tailwind
colors: {
  custom: {
    50: '#caf191',
    500: '#afea5f',
    950: '#000000',
  },
}
SCSS
$custom: #afea5f;
$custom-light: #caf191;
$custom-dark: #000000;
JSON
{
  "hex": "#afea5f",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 95
  },
  "hsl": {
    "h": 85.468,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86907,
    "c": 0.17924,
    "h": 129
  },
  "luminance": 0.68786
}

Semantic roles & 50–950 ramp

primary
#AFEA5F
secondary
#6D37B6
accent
#0CD963
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFEA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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