#AFD346#AFD346

#AFD346 is a light, vivid yellow-green. Relative luminance 0.561; 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#AFD346
RGBrgb(175, 211, 70)
HSLhsl(75, 62%, 55%)
HSVhsv(75, 67%, 83%)
CMYKcmyk(17.1%, 0%, 66.8%, 17.3%)
CIE-LABlab(79.70, -31.40, 63.06)
CIE-LCHlch(79.70, 70.45, 116.47°)
OKLaboklab(81.42% -0.0911 0.1426)
OKLCHoklch(81.42% 0.169 122.6)
XYZxyz(42.0794, 56.1445, 14.4133)
Luminance0.5615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD346 #6A46D3
analogous
#D3B046 #AFD346 #69D346
triadic
#AFD346 #46AFD3 #D346AF
tetradic
#AFD346 #46D3B0 #6A46D3 #D34669
square
#AFD346 #46D3B0 #6A46D3 #D34669
split-complementary
#AFD346 #4669D3 #B046D3
monochromatic
#67801E #8FB22A #AFD346 #C4DF77 #DAEBA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD346#FFFFFF#000000##000000
##AFD3461.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)
#DFC632
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#B8C9B7
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd346;
/* rgb */ color: rgb(175, 211, 70);
/* oklch */ color: oklch(81.4% 0.169 122.6);
Tailwind
colors: {
  custom: {
    50: '#cae081',
    500: '#afd346',
    950: '#000000',
  },
}
SCSS
$custom: #afd346;
$custom-light: #cae081;
$custom-dark: #000000;
JSON
{
  "hex": "#afd346",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 70
  },
  "hsl": {
    "h": 75.319,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81423,
    "c": 0.16925,
    "h": 122.6
  },
  "luminance": 0.56145
}

Semantic roles & 50–950 ramp

primary
#AFD346
secondary
#4B3687
accent
#43E56C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD346

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

Preview Lab → · Contrast checker → · Palette generator →

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