#AFCA5F#AFCA5F

#AFCA5F is a light, vivid yellow-green. Relative luminance 0.522; OKLCH L 79.6% C 0.137 H 121.3°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#AFCA5F
RGBrgb(175, 202, 95)
HSLhsl(75, 50%, 58%)
HSVhsv(75, 53%, 79%)
CMYKcmyk(13.4%, 0%, 53%, 20.8%)
CIE-LABlab(77.39, -25.16, 49.76)
CIE-LCHlch(77.39, 55.76, 116.82°)
OKLaboklab(79.64% -0.0714 0.1172)
OKLCHoklch(79.64% 0.137 121.3)
XYZxyz(40.8656, 52.1813, 18.7434)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA5F #7A5FCA
analogous
#CAAF5F #AFCA5F #79CA5F
triadic
#AFCA5F #5FAFCA #CA5FAF
tetradic
#AFCA5F #5FCAAF #7A5FCA #CA5F79
square
#AFCA5F #5FCAAF #7A5FCA #CA5F79
split-complementary
#AFCA5F #5F79CA #AF5FCA
monochromatic
#6D832B #93B13B #AFCA5F #C6D98D #DDE8BB

Accessibility & contrast

On white

1.84
#AFCA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#AFCA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA5F
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA5F#FFFFFF#000000##000000
##AFCA5F1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C055
Deuteranopia (green-blind)
#D1BF65
Tritanopia (blue-blind)
#B7C1B2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca5f;
/* rgb */ color: rgb(175, 202, 95);
/* oklch */ color: oklch(79.6% 0.137 121.3);
Tailwind
colors: {
  custom: {
    50: '#c9da8f',
    500: '#afca5f',
    950: '#000000',
  },
}
SCSS
$custom: #afca5f;
$custom-light: #c9da8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afca5f",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 75.14,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79637,
    "c": 0.13728,
    "h": 121.3
  },
  "luminance": 0.52181
}

Semantic roles & 50–950 ramp

primary
#AFCA5F
secondary
#55438B
accent
#4EDA71
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFCA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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