#AFCD70#AFCD70

#AFCD70 is a light, vivid yellow-green. Relative luminance 0.539; OKLCH L 80.5% C 0.124 H 123.8°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#AFCD70
RGBrgb(175, 205, 112)
HSLhsl(79, 48%, 62%)
HSVhsv(79, 45%, 80%)
CMYKcmyk(14.6%, 0%, 45.4%, 19.6%)
CIE-LABlab(78.43, -24.88, 42.84)
CIE-LCHlch(78.43, 49.54, 120.15°)
OKLaboklab(80.54% -0.0692 0.1033)
OKLCHoklch(80.54% 0.124 123.8)
XYZxyz(42.4351, 53.9463, 23.5032)
Luminance0.5395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD70 #8E70CD
analogous
#CDBD70 #AFCD70 #80CD70
triadic
#AFCD70 #70AFCD #CD70AF
tetradic
#AFCD70 #70CDBD #8E70CD #CD7080
square
#AFCD70 #70CDBD #8E70CD #CD7080
split-complementary
#AFCD70 #7080CD #BD70CD
monochromatic
#729032 #96BD43 #AFCD70 #C8DD9D #E2EDCB

Accessibility & contrast

On white

1.78
#AFCD70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#AFCD70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD70
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD70#FFFFFF#000000##000000
##AFCD701.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C368
Deuteranopia (green-blind)
#D2C275
Tritanopia (blue-blind)
#B5C5B7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcd70;
/* rgb */ color: rgb(175, 205, 112);
/* oklch */ color: oklch(80.5% 0.124 123.8);
Tailwind
colors: {
  custom: {
    50: '#c8dc9b',
    500: '#afcd70',
    950: '#000000',
  },
}
SCSS
$custom: #afcd70;
$custom-light: #c8dc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd70",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 112
  },
  "hsl": {
    "h": 79.355,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.80539,
    "c": 0.12434,
    "h": 123.8
  },
  "luminance": 0.53946
}

Semantic roles & 50–950 ramp

primary
#AFCD70
secondary
#634B97
accent
#2ABB59
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCD70

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

Preview Lab → · Contrast checker → · Palette generator →

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