#AFCF68#AFCF68

#AFCF68 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.9% C 0.135 H 123.6°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#AFCF68
RGBrgb(175, 207, 104)
HSLhsl(79, 52%, 61%)
HSVhsv(79, 50%, 81%)
CMYKcmyk(15.5%, 0%, 49.8%, 18.8%)
CIE-LABlab(78.89, -26.70, 47.28)
CIE-LCHlch(78.89, 54.30, 119.45°)
OKLaboklab(80.88% -0.0749 0.1126)
OKLCHoklch(80.88% 0.135 123.6)
XYZxyz(42.4908, 54.7389, 21.4211)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF68 #8868CF
analogous
#CFBB68 #AFCF68 #7BCF68
triadic
#AFCF68 #68AFCF #CF68AF
tetradic
#AFCF68 #68CFBB #8868CF #CF687B
square
#AFCF68 #68CFBB #8868CF #CF687B
split-complementary
#AFCF68 #687BCF #BB68CF
monochromatic
#718F2D #95BE3C #AFCF68 #C8DE96 #E0EDC5

Accessibility & contrast

On white

1.76
#AFCF68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#AFCF68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF68
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF68#FFFFFF#000000##000000
##AFCF681.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C45F
Deuteranopia (green-blind)
#D5C36E
Tritanopia (blue-blind)
#B6C6B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf68;
/* rgb */ color: rgb(175, 207, 104);
/* oklch */ color: oklch(80.9% 0.135 123.6);
Tailwind
colors: {
  custom: {
    50: '#c9dd95',
    500: '#afcf68',
    950: '#000000',
  },
}
SCSS
$custom: #afcf68;
$custom-light: #c9dd95;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf68",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 104
  },
  "hsl": {
    "h": 78.641,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.80877,
    "c": 0.13525,
    "h": 123.6
  },
  "luminance": 0.54739
}

Semantic roles & 50–950 ramp

primary
#AFCF68
secondary
#5F4695
accent
#26BF56
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCF68

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

Preview Lab → · Contrast checker → · Palette generator →

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