#AFCA6F#AFCA6F

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

Color values

HEX#AFCA6F
RGBrgb(175, 202, 111)
HSLhsl(78, 46%, 61%)
HSVhsv(78, 45%, 79%)
CMYKcmyk(13.4%, 0%, 45%, 20.8%)
CIE-LABlab(77.58, -23.53, 42.28)
CIE-LCHlch(77.58, 48.38, 119.10°)
OKLaboklab(79.85% -0.0655 0.102)
OKLCHoklch(79.85% 0.121 122.7)
XYZxyz(41.6690, 52.5026, 22.9746)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA6F #8A6FCA
analogous
#CAB86F #AFCA6F #82CA6F
triadic
#AFCA6F #6FAFCA #CA6FAF
tetradic
#AFCA6F #6FCAB8 #8A6FCA #CA6F82
square
#AFCA6F #6FCAB8 #8A6FCA #CA6F82
split-complementary
#AFCA6F #6F82CA #B86FCA
monochromatic
#718B33 #96B844 #AFCA6F #C8DA9C #E1EBC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCA6F#FFFFFF#000000##000000
##AFCA6F1.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)
#D3C068
Deuteranopia (green-blind)
#D0C074
Tritanopia (blue-blind)
#B5C2B4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afca6f;
/* rgb */ color: rgb(175, 202, 111);
/* oklch */ color: oklch(79.9% 0.121 122.7);
Tailwind
colors: {
  custom: {
    50: '#c8da9a',
    500: '#afca6f',
    950: '#000000',
  },
}
SCSS
$custom: #afca6f;
$custom-light: #c8da9a;
$custom-dark: #000000;
JSON
{
  "hex": "#afca6f",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 111
  },
  "hsl": {
    "h": 77.802,
    "s": 46.193,
    "l": 61.373
  },
  "oklch": {
    "l": 0.79853,
    "c": 0.1212,
    "h": 122.7
  },
  "luminance": 0.52503
}

Semantic roles & 50–950 ramp

primary
#AFCA6F
secondary
#604B92
accent
#2CB956
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFCA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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