#AFCD65#AFCD65

#AFCD65 is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 80.4% C 0.135 H 122.8°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#AFCD65
RGBrgb(175, 205, 101)
HSLhsl(77, 51%, 60%)
HSVhsv(77, 51%, 80%)
CMYKcmyk(14.6%, 0%, 50.7%, 19.6%)
CIE-LABlab(78.30, -26.03, 48.00)
CIE-LCHlch(78.30, 54.61, 118.47°)
OKLaboklab(80.39% -0.0733 0.1139)
OKLCHoklch(80.39% 0.135 122.8)
XYZxyz(41.8596, 53.7161, 20.4724)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD65 #8365CD
analogous
#CDB765 #AFCD65 #7BCD65
triadic
#AFCD65 #65AFCD #CD65AF
tetradic
#AFCD65 #65CDB7 #8365CD #CD657B
square
#AFCD65 #65CDB7 #8365CD #CD657B
split-complementary
#AFCD65 #657BCD #B765CD
monochromatic
#708B2D #95B93C #AFCD65 #C7DC93 #DFEBC1

Accessibility & contrast

On white

1.79
#AFCD65 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#AFCD65 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD65
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD65#FFFFFF#000000##000000
##AFCD651.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C25C
Deuteranopia (green-blind)
#D3C26B
Tritanopia (blue-blind)
#B6C4B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcd65;
/* rgb */ color: rgb(175, 205, 101);
/* oklch */ color: oklch(80.4% 0.135 122.8);
Tailwind
colors: {
  custom: {
    50: '#c9dc93',
    500: '#afcd65',
    950: '#000000',
  },
}
SCSS
$custom: #afcd65;
$custom-light: #c9dc93;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd65",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 101
  },
  "hsl": {
    "h": 77.308,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.80387,
    "c": 0.13549,
    "h": 122.8
  },
  "luminance": 0.53716
}

Semantic roles & 50–950 ramp

primary
#AFCD65
secondary
#5B4591
accent
#4DDA76
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCD65

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

Preview Lab → · Contrast checker → · Palette generator →

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