#AFCA6E#AFCA6E

#AFCA6E is a light, vivid yellow-green. Relative luminance 0.525; OKLCH L 79.8% C 0.122 H 122.6°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#AFCA6E
RGBrgb(175, 202, 110)
HSLhsl(78, 46%, 61%)
HSVhsv(78, 46%, 79%)
CMYKcmyk(13.4%, 0%, 45.5%, 20.8%)
CIE-LABlab(77.57, -23.64, 42.76)
CIE-LCHlch(77.57, 48.86, 118.94°)
OKLaboklab(79.84% -0.0659 0.103)
OKLCHoklch(79.84% 0.122 122.6)
XYZxyz(41.6142, 52.4807, 22.6863)
Luminance0.5248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA6E #896ECA
analogous
#CAB76E #AFCA6E #81CA6E
triadic
#AFCA6E #6EAFCA #CA6EAF
tetradic
#AFCA6E #6ECAB7 #896ECA #CA6E81
square
#AFCA6E #6ECAB7 #896ECA #CA6E81
split-complementary
#AFCA6E #6E81CA #B76ECA
monochromatic
#718B33 #95B843 #AFCA6E #C8DA9B #E0EBC8

Accessibility & contrast

On white

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

On black

11.50
#AFCA6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA6E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA6E#FFFFFF#000000##000000
##AFCA6E1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afca6e;
/* rgb */ color: rgb(175, 202, 110);
/* oklch */ color: oklch(79.8% 0.122 122.6);
Tailwind
colors: {
  custom: {
    50: '#c8da99',
    500: '#afca6e',
    950: '#000000',
  },
}
SCSS
$custom: #afca6e;
$custom-light: #c8da99;
$custom-dark: #000000;
JSON
{
  "hex": "#afca6e",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 110
  },
  "hsl": {
    "h": 77.609,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.79838,
    "c": 0.12226,
    "h": 122.6
  },
  "luminance": 0.52481
}

Semantic roles & 50–950 ramp

primary
#AFCA6E
secondary
#5F4A92
accent
#2CBA55
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFCA6E

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

Preview Lab → · Contrast checker → · Palette generator →

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