#AFD047#AFD047

#AFD047 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.7% C 0.165 H 121.8°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#AFD047
RGBrgb(175, 208, 71)
HSLhsl(74, 59%, 55%)
HSVhsv(74, 66%, 82%)
CMYKcmyk(15.9%, 0%, 65.9%, 18.4%)
CIE-LABlab(78.86, -29.93, 61.80)
CIE-LCHlch(78.86, 68.67, 115.84°)
OKLaboklab(80.75% -0.087 0.1401)
OKLCHoklch(80.75% 0.165 121.8)
XYZxyz(41.3729, 54.6806, 14.3348)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD047 #6847D0
analogous
#D0AD47 #AFD047 #6AD047
triadic
#AFD047 #47AFD0 #D047AF
tetradic
#AFD047 #47D0AD #6847D0 #D0476A
square
#AFD047 #47D0AD #6847D0 #D0476A
split-complementary
#AFD047 #476AD0 #AD47D0
monochromatic
#667D20 #8EAD2C #AFD047 #C4DC78 #D9E9A8

Accessibility & contrast

On white

1.76
#AFD047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#AFD047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD047
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD047#FFFFFF#000000##000000
##AFD0471.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC434
Deuteranopia (green-blind)
#D8C351
Tritanopia (blue-blind)
#B8C6B4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd047;
/* rgb */ color: rgb(175, 208, 71);
/* oklch */ color: oklch(80.7% 0.165 121.8);
Tailwind
colors: {
  custom: {
    50: '#cade81',
    500: '#afd047',
    950: '#000000',
  },
}
SCSS
$custom: #afd047;
$custom-light: #cade81;
$custom-dark: #000000;
JSON
{
  "hex": "#afd047",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 71
  },
  "hsl": {
    "h": 74.453,
    "s": 59.307,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80748,
    "c": 0.1649,
    "h": 121.8
  },
  "luminance": 0.54681
}

Semantic roles & 50–950 ramp

primary
#AFD047
secondary
#493784
accent
#45E26B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD047

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

Preview Lab → · Contrast checker → · Palette generator →

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