#AFCA4E#AFCA4E

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

Color values

HEX#AFCA4E
RGBrgb(175, 202, 78)
HSLhsl(73, 54%, 55%)
HSVhsv(73, 61%, 79%)
CMYKcmyk(13.4%, 0%, 61.4%, 20.8%)
CIE-LABlab(77.22, -26.59, 57.19)
CIE-LCHlch(77.22, 63.07, 114.93°)
OKLaboklab(79.45% -0.077 0.1313)
OKLCHoklch(79.45% 0.152 120.4)
XYZxyz(40.1754, 51.9052, 15.1085)
Luminance0.5191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA4E #694ECA
analogous
#CAA74E #AFCA4E #71CA4E
triadic
#AFCA4E #4EAFCA #CA4EAF
tetradic
#AFCA4E #4ECAA7 #694ECA #CA4E71
square
#AFCA4E #4ECAA7 #694ECA #CA4E71
split-complementary
#AFCA4E #4E71CA #A74ECA
monochromatic
#677924 #8FA832 #AFCA4E #C4D87D #DAE6AC

Accessibility & contrast

On white

1.85
#AFCA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCA4E#FFFFFF#000000##000000
##AFCA4E1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afca4e;
/* rgb */ color: rgb(175, 202, 78);
/* oklch */ color: oklch(79.5% 0.152 120.4);
Tailwind
colors: {
  custom: {
    50: '#c9da85',
    500: '#afca4e',
    950: '#000000',
  },
}
SCSS
$custom: #afca4e;
$custom-light: #c9da85;
$custom-dark: #000000;
JSON
{
  "hex": "#afca4e",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 78
  },
  "hsl": {
    "h": 73.065,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79451,
    "c": 0.15222,
    "h": 120.4
  },
  "luminance": 0.51905
}

Semantic roles & 50–950 ramp

primary
#AFCA4E
secondary
#4A3B82
accent
#4BDD6A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#13140B
muted
#83837E

Preview Lab

Preview with #AFCA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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