#AFCD3B#AFCD3B

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

Color values

HEX#AFCD3B
RGBrgb(175, 205, 59)
HSLhsl(72, 59%, 52%)
HSVhsv(72, 71%, 80%)
CMYKcmyk(14.6%, 0%, 71.2%, 19.6%)
CIE-LABlab(77.93, -29.24, 65.37)
CIE-LCHlch(77.93, 71.61, 114.10°)
OKLaboklab(79.97% -0.0861 0.1458)
OKLCHoklch(79.97% 0.169 120.6)
XYZxyz(40.3006, 53.0925, 12.2616)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD3B #593BCD
analogous
#CDA23B #AFCD3B #66CD3B
triadic
#AFCD3B #3BAFCD #CD3BAF
tetradic
#AFCD3B #3BCDA2 #593BCD #CD3B66
square
#AFCD3B #3BCDA2 #593BCD #CD3B66
split-complementary
#AFCD3B #3B66CD #A23BCD
monochromatic
#60711D #89A229 #AFCD3B #C3D96C #D7E69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCD3B#FFFFFF#000000##000000
##AFCD3B1.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)
#DAC121
Deuteranopia (green-blind)
#D6C147
Tritanopia (blue-blind)
#B9C2B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd3b;
/* rgb */ color: rgb(175, 205, 59);
/* oklch */ color: oklch(80.0% 0.169 120.6);
Tailwind
colors: {
  custom: {
    50: '#cadc7a',
    500: '#afcd3b',
    950: '#000000',
  },
}
SCSS
$custom: #afcd3b;
$custom-light: #cadc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd3b",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 59
  },
  "hsl": {
    "h": 72.329,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79975,
    "c": 0.16931,
    "h": 120.6
  },
  "luminance": 0.53092
}

Semantic roles & 50–950 ramp

primary
#AFCD3B
secondary
#41327A
accent
#45E366
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCD3B

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

Preview Lab → · Contrast checker → · Palette generator →

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