#AFCD3E#AFCD3E

#AFCD3E is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 80.0% C 0.167 H 120.7°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#AFCD3E
RGBrgb(175, 205, 62)
HSLhsl(73, 59%, 52%)
HSVhsv(73, 70%, 80%)
CMYKcmyk(14.6%, 0%, 69.8%, 19.6%)
CIE-LABlab(77.95, -29.07, 64.30)
CIE-LCHlch(77.95, 70.57, 114.33°)
OKLaboklab(80% -0.0854 0.144)
OKLCHoklch(80% 0.167 120.7)
XYZxyz(40.3807, 53.1245, 12.6832)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD3E #5C3ECD
analogous
#CDA33E #AFCD3E #68CD3E
triadic
#AFCD3E #3EAFCD #CD3EAF
tetradic
#AFCD3E #3ECDA3 #5C3ECD #CD3E68
square
#AFCD3E #3ECDA3 #5C3ECD #CD3E68
split-complementary
#AFCD3E #3E68CD #A33ECD
monochromatic
#61731E #8AA32A #AFCD3E #C3DA6F #D7E69F

Accessibility & contrast

On white

1.81
#AFCD3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#AFCD3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD3E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD3E#FFFFFF#000000##000000
##AFCD3E1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC126
Deuteranopia (green-blind)
#D6C14A
Tritanopia (blue-blind)
#B9C2B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd3e;
/* rgb */ color: rgb(175, 205, 62);
/* oklch */ color: oklch(80.0% 0.167 120.7);
Tailwind
colors: {
  custom: {
    50: '#cadc7c',
    500: '#afcd3e',
    950: '#000000',
  },
}
SCSS
$custom: #afcd3e;
$custom-light: #cadc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd3e",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 62
  },
  "hsl": {
    "h": 72.587,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79996,
    "c": 0.16743,
    "h": 120.7
  },
  "luminance": 0.53124
}

Semantic roles & 50–950 ramp

primary
#AFCD3E
secondary
#43347C
accent
#46E267
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCD3E

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

Preview Lab → · Contrast checker → · Palette generator →

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