#AFCA68#AFCA68

#AFCA68 is a light, vivid yellow-green. Relative luminance 0.524; OKLCH L 79.8% C 0.128 H 122.0°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#AFCA68
RGBrgb(175, 202, 104)
HSLhsl(77, 48%, 60%)
HSVhsv(77, 49%, 79%)
CMYKcmyk(13.4%, 0%, 48.5%, 20.8%)
CIE-LABlab(77.49, -24.28, 45.60)
CIE-LCHlch(77.49, 51.66, 118.03°)
OKLaboklab(79.75% -0.0681 0.1089)
OKLCHoklch(79.75% 0.128 122)
XYZxyz(41.2986, 52.3545, 21.0237)
Luminance0.5235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA68 #8368CA
analogous
#CAB468 #AFCA68 #7ECA68
triadic
#AFCA68 #68AFCA #CA68AF
tetradic
#AFCA68 #68CAB4 #8368CA #CA687E
square
#AFCA68 #68CAB4 #8368CA #CA687E
split-complementary
#AFCA68 #687ECA #B468CA
monochromatic
#708830 #95B540 #AFCA68 #C7DA95 #DFEAC3

Accessibility & contrast

On white

1.83
#AFCA68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#AFCA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA68
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA68#FFFFFF#000000##000000
##AFCA681.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05F
Deuteranopia (green-blind)
#D1BF6D
Tritanopia (blue-blind)
#B6C2B3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca68;
/* rgb */ color: rgb(175, 202, 104);
/* oklch */ color: oklch(79.8% 0.128 122.0);
Tailwind
colors: {
  custom: {
    50: '#c8da95',
    500: '#afca68',
    950: '#000000',
  },
}
SCSS
$custom: #afca68;
$custom-light: #c8da95;
$custom-dark: #000000;
JSON
{
  "hex": "#afca68",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 104
  },
  "hsl": {
    "h": 76.531,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.79753,
    "c": 0.12845,
    "h": 122
  },
  "luminance": 0.52354
}

Semantic roles & 50–950 ramp

primary
#AFCA68
secondary
#5B478F
accent
#50D875
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFCA68

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

Preview Lab → · Contrast checker → · Palette generator →

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