#AFD347#AFD347

#AFD347 is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.4% C 0.169 H 122.6°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#AFD347
RGBrgb(175, 211, 71)
HSLhsl(75, 61%, 55%)
HSVhsv(75, 66%, 83%)
CMYKcmyk(17.1%, 0%, 66.4%, 17.3%)
CIE-LABlab(79.70, -31.34, 62.68)
CIE-LCHlch(79.70, 70.08, 116.56°)
OKLaboklab(81.43% -0.0909 0.142)
OKLCHoklch(81.43% 0.169 122.6)
XYZxyz(42.1113, 56.1573, 14.5809)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD347 #6B47D3
analogous
#D3B147 #AFD347 #69D347
triadic
#AFD347 #47AFD3 #D347AF
tetradic
#AFD347 #47D3B1 #6B47D3 #D34769
square
#AFD347 #47D3B1 #6B47D3 #D34769
split-complementary
#AFD347 #4769D3 #B147D3
monochromatic
#68811F #8FB22B #AFD347 #C4DF78 #DAEBAA

Accessibility & contrast

On white

1.72
#AFD347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#AFD347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD347
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD347#FFFFFF#000000##000000
##AFD3471.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC633
Deuteranopia (green-blind)
#DAC552
Tritanopia (blue-blind)
#B8C9B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd347;
/* rgb */ color: rgb(175, 211, 71);
/* oklch */ color: oklch(81.4% 0.169 122.6);
Tailwind
colors: {
  custom: {
    50: '#cae081',
    500: '#afd347',
    950: '#000000',
  },
}
SCSS
$custom: #afd347;
$custom-light: #cae081;
$custom-dark: #000000;
JSON
{
  "hex": "#afd347",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 71
  },
  "hsl": {
    "h": 75.429,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81431,
    "c": 0.16854,
    "h": 122.6
  },
  "luminance": 0.56157
}

Semantic roles & 50–950 ramp

primary
#AFD347
secondary
#4B3688
accent
#43E56D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD347

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

Preview Lab → · Contrast checker → · Palette generator →

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