#AFCA6C#AFCA6C

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

Color values

HEX#AFCA6C
RGBrgb(175, 202, 108)
HSLhsl(77, 47%, 61%)
HSVhsv(77, 47%, 79%)
CMYKcmyk(13.4%, 0%, 46.5%, 20.8%)
CIE-LABlab(77.54, -23.86, 43.71)
CIE-LCHlch(77.54, 49.79, 118.63°)
OKLaboklab(79.81% -0.0666 0.105)
OKLCHoklch(79.81% 0.124 122.4)
XYZxyz(41.5066, 52.4377, 22.1193)
Luminance0.5244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA6C #876CCA
analogous
#CAB66C #AFCA6C #80CA6C
triadic
#AFCA6C #6CAFCA #CA6CAF
tetradic
#AFCA6C #6CCAB6 #876CCA #CA6C80
square
#AFCA6C #6CCAB6 #876CCA #CA6C80
split-complementary
#AFCA6C #6C80CA #B66CCA
monochromatic
#718A32 #95B742 #AFCA6C #C7DA99 #E0EAC6

Accessibility & contrast

On white

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

On black

11.49
#AFCA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA6C
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA6C#FFFFFF#000000##000000
##AFCA6C1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C064
Deuteranopia (green-blind)
#D0C071
Tritanopia (blue-blind)
#B6C2B4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afca6c;
/* rgb */ color: rgb(175, 202, 108);
/* oklch */ color: oklch(79.8% 0.124 122.4);
Tailwind
colors: {
  custom: {
    50: '#c8da98',
    500: '#afca6c',
    950: '#000000',
  },
}
SCSS
$custom: #afca6c;
$custom-light: #c8da98;
$custom-dark: #000000;
JSON
{
  "hex": "#afca6c",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 108
  },
  "hsl": {
    "h": 77.234,
    "s": 47,
    "l": 60.784
  },
  "oklch": {
    "l": 0.79809,
    "c": 0.12435,
    "h": 122.4
  },
  "luminance": 0.52438
}

Semantic roles & 50–950 ramp

primary
#AFCA6C
secondary
#5E4991
accent
#2BBA54
background
#FEFEFC
surface
#FAFBF5
border
#D3D4CF
text
#13140E
muted
#83837F

Preview Lab

Preview with #AFCA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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