#AFEA5A#AFEA5A

#AFEA5A is a very light, vivid yellow-green. Relative luminance 0.687; OKLCH L 86.9% C 0.183 H 128.6°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#AFEA5A
RGBrgb(175, 234, 90)
HSLhsl(85, 77%, 64%)
HSVhsv(85, 62%, 92%)
CMYKcmyk(25.2%, 0%, 61.5%, 8.2%)
CIE-LABlab(86.35, -40.40, 62.12)
CIE-LCHlch(86.35, 74.10, 123.04°)
OKLaboklab(86.86% -0.1142 0.1432)
OKLCHoklch(86.86% 0.183 128.6)
XYZxyz(48.9473, 68.6967, 20.3518)
Luminance0.6870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA5A #955AEA
analogous
#EADD5A #AFEA5A #67EA5A
triadic
#AFEA5A #5AAFEA #EA5AAF
tetradic
#AFEA5A #5AEADD #955AEA #EA5A67
square
#AFEA5A #5AEADD #955AEA #EA5A67
split-complementary
#AFEA5A #5A67EA #DD5AEA
monochromatic
#73B317 #95E324 #AFEA5A #C9F190 #E4F8C7

Accessibility & contrast

On white

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

On black

14.74
#AFEA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEA5A
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEA5A#FFFFFF#000000##000000
##AFEA5A1.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afea5a;
/* rgb */ color: rgb(175, 234, 90);
/* oklch */ color: oklch(86.9% 0.183 128.6);
Tailwind
colors: {
  custom: {
    50: '#caf18e',
    500: '#afea5a',
    950: '#000000',
  },
}
SCSS
$custom: #afea5a;
$custom-light: #caf18e;
$custom-dark: #000000;
JSON
{
  "hex": "#afea5a",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 90
  },
  "hsl": {
    "h": 84.583,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86857,
    "c": 0.18318,
    "h": 128.6
  },
  "luminance": 0.68698
}

Semantic roles & 50–950 ramp

primary
#AFEA5A
secondary
#6935B3
accent
#0CDA60
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFEA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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