#AFEA5B#AFEA5B

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

Color values

HEX#AFEA5B
RGBrgb(175, 234, 91)
HSLhsl(85, 77%, 64%)
HSVhsv(85, 61%, 92%)
CMYKcmyk(25.2%, 0%, 61.1%, 8.2%)
CIE-LABlab(86.36, -40.33, 61.71)
CIE-LCHlch(86.36, 73.72, 123.16°)
OKLaboklab(86.87% -0.1139 0.1425)
OKLCHoklch(86.87% 0.182 128.7)
XYZxyz(48.9901, 68.7139, 20.5775)
Luminance0.6872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEA5B #965BEA
analogous
#EADD5B #AFEA5B #67EA5B
triadic
#AFEA5B #5BAFEA #EA5BAF
tetradic
#AFEA5B #5BEADD #965BEA #EA5B67
square
#AFEA5B #5BEADD #965BEA #EA5B67
split-complementary
#AFEA5B #5B67EA #DD5BEA
monochromatic
#73B417 #95E325 #AFEA5B #C9F191 #E4F8C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFEA5B#FFFFFF#000000##000000
##AFEA5B1.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)
#F5DB4A
Deuteranopia (green-blind)
#ECD766
Tritanopia (blue-blind)
#B4E0CC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afea5b;
/* rgb */ color: rgb(175, 234, 91);
/* oklch */ color: oklch(86.9% 0.182 128.7);
Tailwind
colors: {
  custom: {
    50: '#caf18f',
    500: '#afea5b',
    950: '#000000',
  },
}
SCSS
$custom: #afea5b;
$custom-light: #caf18f;
$custom-dark: #000000;
JSON
{
  "hex": "#afea5b",
  "rgb": {
    "r": 175,
    "g": 234,
    "b": 91
  },
  "hsl": {
    "h": 84.755,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86867,
    "c": 0.18241,
    "h": 128.7
  },
  "luminance": 0.68715
}

Semantic roles & 50–950 ramp

primary
#AFEA5B
secondary
#6A36B4
accent
#0CDA61
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFEA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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