#AFEC67#AFEC67

#AFEC67 is a very light, vivid yellow-green. Relative luminance 0.701; OKLCH L 87.5% C 0.175 H 130.0°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#AFEC67
RGBrgb(175, 236, 103)
HSLhsl(88, 78%, 66%)
HSVhsv(88, 56%, 93%)
CMYKcmyk(25.8%, 0%, 56.4%, 7.5%)
CIE-LABlab(87.04, -40.17, 57.32)
CIE-LCHlch(87.04, 69.99, 125.03°)
OKLaboklab(87.45% -0.1125 0.1343)
OKLCHoklch(87.45% 0.175 130)
XYZxyz(50.1224, 70.0829, 23.7159)
Luminance0.7008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC67 #A467EC
analogous
#ECE767 #AFEC67 #6DEC67
triadic
#AFEC67 #67AFEC #EC67AF
tetradic
#AFEC67 #67ECE7 #A467EC #EC676D
square
#AFEC67 #67ECE7 #A467EC #EC676D
split-complementary
#AFEC67 #676DEC #E767EC
monochromatic
#73C118 #92E531 #AFEC67 #CCF39D #E8FAD4

Accessibility & contrast

On white

1.40
#AFEC67 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.02
#AFEC67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC67
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC67#FFFFFF#000000##000000
##AFEC671.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD59
Deuteranopia (green-blind)
#EDD970
Tritanopia (blue-blind)
#B3E3CF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec67;
/* rgb */ color: rgb(175, 236, 103);
/* oklch */ color: oklch(87.5% 0.175 130.0);
Tailwind
colors: {
  custom: {
    50: '#caf296',
    500: '#afec67',
    950: '#000000',
  },
}
SCSS
$custom: #afec67;
$custom-light: #caf296;
$custom-dark: #000000;
JSON
{
  "hex": "#afec67",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 103
  },
  "hsl": {
    "h": 87.519,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8745,
    "c": 0.17522,
    "h": 130
  },
  "luminance": 0.70084
}

Semantic roles & 50–950 ramp

primary
#AFEC67
secondary
#7638BF
accent
#0BDA6A
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFEC67

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

Preview Lab → · Contrast checker → · Palette generator →

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