#AFCE68#AFCE68

#AFCE68 is a light, vivid yellow-green. Relative luminance 0.543; OKLCH L 80.7% C 0.134 H 123.3°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#AFCE68
RGBrgb(175, 206, 104)
HSLhsl(78, 51%, 61%)
HSVhsv(78, 50%, 81%)
CMYKcmyk(15%, 0%, 49.5%, 19.2%)
CIE-LABlab(78.61, -26.21, 46.95)
CIE-LCHlch(78.61, 53.77, 119.18°)
OKLaboklab(80.65% -0.0736 0.1119)
OKLCHoklch(80.65% 0.134 123.3)
XYZxyz(42.2493, 54.2559, 21.3406)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE68 #8768CE
analogous
#CEBA68 #AFCE68 #7CCE68
triadic
#AFCE68 #68AFCE #CE68AF
tetradic
#AFCE68 #68CEBA #8768CE #CE687C
square
#AFCE68 #68CEBA #8768CE #CE687C
split-complementary
#AFCE68 #687CCE #BA68CE
monochromatic
#718E2E #95BC3D #AFCE68 #C7DD96 #E0ECC4

Accessibility & contrast

On white

1.77
#AFCE68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#AFCE68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE68
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE68#FFFFFF#000000##000000
##AFCE681.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C35F
Deuteranopia (green-blind)
#D4C26E
Tritanopia (blue-blind)
#B6C5B7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce68;
/* rgb */ color: rgb(175, 206, 104);
/* oklch */ color: oklch(80.7% 0.134 123.3);
Tailwind
colors: {
  custom: {
    50: '#c9dd95',
    500: '#afce68',
    950: '#000000',
  },
}
SCSS
$custom: #afce68;
$custom-light: #c9dd95;
$custom-dark: #000000;
JSON
{
  "hex": "#afce68",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 104
  },
  "hsl": {
    "h": 78.235,
    "s": 51,
    "l": 60.784
  },
  "oklch": {
    "l": 0.80652,
    "c": 0.13389,
    "h": 123.3
  },
  "luminance": 0.54256
}

Semantic roles & 50–950 ramp

primary
#AFCE68
secondary
#5E4694
accent
#27BE55
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCE68

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

Preview Lab → · Contrast checker → · Palette generator →

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