#AFCD3F#AFCD3F

#AFCD3F 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.63:1 contrast (WCAG AA passes).

Color values

HEX#AFCD3F
RGBrgb(175, 205, 63)
HSLhsl(73, 59%, 53%)
HSVhsv(73, 69%, 80%)
CMYKcmyk(14.6%, 0%, 69.3%, 19.6%)
CIE-LABlab(77.95, -29.01, 63.94)
CIE-LCHlch(77.95, 70.22, 114.41°)
OKLaboklab(80% -0.0852 0.1434)
OKLCHoklch(80% 0.167 120.7)
XYZxyz(40.4084, 53.1356, 12.8291)
Luminance0.5313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD3F #5D3FCD
analogous
#CDA43F #AFCD3F #68CD3F
triadic
#AFCD3F #3FAFCD #CD3FAF
tetradic
#AFCD3F #3FCDA4 #5D3FCD #CD3F68
square
#AFCD3F #3FCDA4 #5D3FCD #CD3F68
split-complementary
#AFCD3F #3F68CD #A43FCD
monochromatic
#61741E #8AA42B #AFCD3F #C3DA70 #D7E6A0

Accessibility & contrast

On white

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

On black

11.63
#AFCD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD3F
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD3F#FFFFFF#000000##000000
##AFCD3F1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcd3f;
/* rgb */ color: rgb(175, 205, 63);
/* oklch */ color: oklch(80.0% 0.167 120.7);
Tailwind
colors: {
  custom: {
    50: '#cadc7c',
    500: '#afcd3f',
    950: '#000000',
  },
}
SCSS
$custom: #afcd3f;
$custom-light: #cadc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd3f",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 72.676,
    "s": 58.678,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80003,
    "c": 0.16679,
    "h": 120.7
  },
  "luminance": 0.53135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFCD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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