#AFCD68#AFCD68

#AFCD68 is a light, vivid yellow-green. Relative luminance 0.538; OKLCH L 80.4% C 0.133 H 123.0°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#AFCD68
RGBrgb(175, 205, 104)
HSLhsl(78, 50%, 61%)
HSVhsv(78, 49%, 80%)
CMYKcmyk(14.6%, 0%, 49.3%, 19.6%)
CIE-LABlab(78.33, -25.73, 46.61)
CIE-LCHlch(78.33, 53.24, 118.90°)
OKLaboklab(80.43% -0.0722 0.1111)
OKLCHoklch(80.43% 0.133 123)
XYZxyz(42.0093, 53.7759, 21.2607)
Luminance0.5378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD68 #8668CD
analogous
#CDB968 #AFCD68 #7CCD68
triadic
#AFCD68 #68AFCD #CD68AF
tetradic
#AFCD68 #68CDB9 #8668CD #CD687C
square
#AFCD68 #68CDB9 #8668CD #CD687C
split-complementary
#AFCD68 #687CCD #B968CD
monochromatic
#708C2E #95BA3E #AFCD68 #C7DC96 #E0EBC4

Accessibility & contrast

On white

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

On black

11.76
#AFCD68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD68
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD68#FFFFFF#000000##000000
##AFCD681.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C35F
Deuteranopia (green-blind)
#D3C26E
Tritanopia (blue-blind)
#B6C4B6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcd68;
/* rgb */ color: rgb(175, 205, 104);
/* oklch */ color: oklch(80.4% 0.133 123.0);
Tailwind
colors: {
  custom: {
    50: '#c9dc95',
    500: '#afcd68',
    950: '#000000',
  },
}
SCSS
$custom: #afcd68;
$custom-light: #c9dc95;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd68",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 104
  },
  "hsl": {
    "h": 77.822,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80427,
    "c": 0.13253,
    "h": 123
  },
  "luminance": 0.53776
}

Semantic roles & 50–950 ramp

primary
#AFCD68
secondary
#5D4693
accent
#28BE54
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCD68

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

Preview Lab → · Contrast checker → · Palette generator →

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