#AFD874#AFD874

#AFD874 is a very light, vivid yellow-green. Relative luminance 0.595; OKLCH L 83.1% C 0.136 H 127.4°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#AFD874
RGBrgb(175, 216, 116)
HSLhsl(85, 56%, 65%)
HSVhsv(85, 46%, 85%)
CMYKcmyk(19%, 0%, 46.3%, 15.3%)
CIE-LABlab(81.56, -29.70, 44.75)
CIE-LCHlch(81.56, 53.70, 123.57°)
OKLaboklab(83.07% -0.0824 0.1078)
OKLCHoklch(83.07% 0.136 127.4)
XYZxyz(45.3871, 59.4861, 25.6104)
Luminance0.5949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD874 #9D74D8
analogous
#D8CF74 #AFD874 #7DD874
triadic
#AFD874 #74AFD8 #D874AF
tetradic
#AFD874 #74D8CF #9D74D8 #D8747D
square
#AFD874 #74D8CF #9D74D8 #D8747D
split-complementary
#AFD874 #747DD8 #CF74D8
monochromatic
#73A42E #93CB44 #AFD874 #CBE5A4 #E6F3D4

Accessibility & contrast

On white

1.63
#AFD874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#AFD874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD874
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD874#FFFFFF#000000##000000
##AFD8741.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6C
Deuteranopia (green-blind)
#DBCA7A
Tritanopia (blue-blind)
#B4D0C0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd874;
/* rgb */ color: rgb(175, 216, 116);
/* oklch */ color: oklch(83.1% 0.136 127.4);
Tailwind
colors: {
  custom: {
    50: '#c8e49e',
    500: '#afd874',
    950: '#000000',
  },
}
SCSS
$custom: #afd874;
$custom-light: #c8e49e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd874",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 116
  },
  "hsl": {
    "h": 84.6,
    "s": 56.18,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83071,
    "c": 0.13571,
    "h": 127.4
  },
  "luminance": 0.59487
}

Semantic roles & 50–950 ramp

primary
#AFD874
secondary
#7049A7
accent
#22C464
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD874

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

Preview Lab → · Contrast checker → · Palette generator →

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