#AFCD3D#AFCD3D

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

Color values

HEX#AFCD3D
RGBrgb(175, 205, 61)
HSLhsl(73, 59%, 52%)
HSVhsv(73, 70%, 80%)
CMYKcmyk(14.6%, 0%, 70.2%, 19.6%)
CIE-LABlab(77.94, -29.13, 64.66)
CIE-LCHlch(77.94, 70.92, 114.25°)
OKLaboklab(79.99% -0.0856 0.1446)
OKLCHoklch(79.99% 0.168 120.6)
XYZxyz(40.3535, 53.1136, 12.5400)
Luminance0.5311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD3D #5B3DCD
analogous
#CDA33D #AFCD3D #67CD3D
triadic
#AFCD3D #3DAFCD #CD3DAF
tetradic
#AFCD3D #3DCDA3 #5B3DCD #CD3D67
square
#AFCD3D #3DCDA3 #5B3DCD #CD3D67
split-complementary
#AFCD3D #3D67CD #A33DCD
monochromatic
#61721D #8AA32A #AFCD3D #C3DA6E #D7E69E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCD3D#FFFFFF#000000##000000
##AFCD3D1.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)
#DAC124
Deuteranopia (green-blind)
#D6C149
Tritanopia (blue-blind)
#B9C2B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd3d;
/* rgb */ color: rgb(175, 205, 61);
/* oklch */ color: oklch(80.0% 0.168 120.6);
Tailwind
colors: {
  custom: {
    50: '#cadc7b',
    500: '#afcd3d',
    950: '#000000',
  },
}
SCSS
$custom: #afcd3d;
$custom-light: #cadc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd3d",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 61
  },
  "hsl": {
    "h": 72.5,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79989,
    "c": 0.16807,
    "h": 120.6
  },
  "luminance": 0.53114
}

Semantic roles & 50–950 ramp

primary
#AFCD3D
secondary
#42337B
accent
#46E266
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCD3D

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

Preview Lab → · Contrast checker → · Palette generator →

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