#AFCA4F#AFCA4F

#AFCA4F is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.5% C 0.151 H 120.4°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#AFCA4F
RGBrgb(175, 202, 79)
HSLhsl(73, 54%, 55%)
HSVhsv(73, 61%, 79%)
CMYKcmyk(13.4%, 0%, 60.9%, 20.8%)
CIE-LABlab(77.23, -26.51, 56.77)
CIE-LCHlch(77.23, 62.66, 115.03°)
OKLaboklab(79.46% -0.0767 0.1305)
OKLCHoklch(79.46% 0.151 120.4)
XYZxyz(40.2115, 51.9196, 15.2987)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA4F #6A4FCA
analogous
#CAA84F #AFCA4F #71CA4F
triadic
#AFCA4F #4FAFCA #CA4FAF
tetradic
#AFCA4F #4FCAA8 #6A4FCA #CA4F71
square
#AFCA4F #4FCAA8 #6A4FCA #CA4F71
split-complementary
#AFCA4F #4F71CA #A84FCA
monochromatic
#677A25 #8FA933 #AFCA4F #C4D87E #DAE6AD

Accessibility & contrast

On white

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

On black

11.38
#AFCA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA4F
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA4F#FFFFFF#000000##000000
##AFCA4F1.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF41
Deuteranopia (green-blind)
#D3BF57
Tritanopia (blue-blind)
#B8C0B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca4f;
/* rgb */ color: rgb(175, 202, 79);
/* oklch */ color: oklch(79.5% 0.151 120.4);
Tailwind
colors: {
  custom: {
    50: '#c9da85',
    500: '#afca4f',
    950: '#000000',
  },
}
SCSS
$custom: #afca4f;
$custom-light: #c9da85;
$custom-dark: #000000;
JSON
{
  "hex": "#afca4f",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 73.171,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79461,
    "c": 0.15141,
    "h": 120.4
  },
  "luminance": 0.5192
}

Semantic roles & 50–950 ramp

primary
#AFCA4F
secondary
#4B3B82
accent
#4BDD6B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#13140B
muted
#83837E

Preview Lab

Preview with #AFCA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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