#AFCD4B#AFCD4B

#AFCD4B is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 80.1% C 0.158 H 121.2°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#AFCD4B
RGBrgb(175, 205, 75)
HSLhsl(74, 57%, 55%)
HSVhsv(74, 63%, 80%)
CMYKcmyk(14.6%, 0%, 63.4%, 19.6%)
CIE-LABlab(78.04, -28.24, 59.33)
CIE-LCHlch(78.04, 65.71, 115.45°)
OKLaboklab(80.1% -0.0819 0.1354)
OKLCHoklch(80.1% 0.158 121.2)
XYZxyz(40.7810, 53.2846, 14.7918)
Luminance0.5329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD4B #694BCD
analogous
#CDAA4B #AFCD4B #6ECD4B
triadic
#AFCD4B #4BAFCD #CD4BAF
tetradic
#AFCD4B #4BCDAA #694BCD #CD4B6E
square
#AFCD4B #4BCDAA #694BCD #CD4B6E
split-complementary
#AFCD4B #4B6ECD #AA4BCD
monochromatic
#677B22 #8FAB30 #AFCD4B #C4DA7B #DAE8AB

Accessibility & contrast

On white

1.80
#AFCD4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#AFCD4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD4B
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD4B#FFFFFF#000000##000000
##AFCD4B1.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C13A
Deuteranopia (green-blind)
#D5C154
Tritanopia (blue-blind)
#B8C3B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd4b;
/* rgb */ color: rgb(175, 205, 75);
/* oklch */ color: oklch(80.1% 0.158 121.2);
Tailwind
colors: {
  custom: {
    50: '#cadc83',
    500: '#afcd4b',
    950: '#000000',
  },
}
SCSS
$custom: #afcd4b;
$custom-light: #cadc83;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd4b",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 75
  },
  "hsl": {
    "h": 73.846,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80102,
    "c": 0.15827,
    "h": 121.2
  },
  "luminance": 0.53285
}

Semantic roles & 50–950 ramp

primary
#AFCD4B
secondary
#4A3983
accent
#48E06B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCD4B

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

Preview Lab → · Contrast checker → · Palette generator →

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