#AFD341#AFD341

#AFD341 is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.4% C 0.173 H 122.4°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#AFD341
RGBrgb(175, 211, 65)
HSLhsl(75, 62%, 54%)
HSVhsv(75, 69%, 83%)
CMYKcmyk(17.1%, 0%, 69.2%, 17.3%)
CIE-LABlab(79.66, -31.71, 64.92)
CIE-LCHlch(79.66, 72.25, 116.04°)
OKLaboklab(81.38% -0.0924 0.1458)
OKLCHoklch(81.38% 0.173 122.4)
XYZxyz(41.9281, 56.0840, 13.6164)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD341 #6541D3
analogous
#D3AE41 #AFD341 #66D341
triadic
#AFD341 #41AFD3 #D341AF
tetradic
#AFD341 #41D3AE #6541D3 #D34166
square
#AFD341 #41D3AE #6541D3 #D34166
split-complementary
#AFD341 #4166D3 #AE41D3
monochromatic
#657D1D #8DAE28 #AFD341 #C4DF73 #D9EAA4

Accessibility & contrast

On white

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

On black

12.22
#AFD341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD341
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD341#FFFFFF#000000##000000
##AFD3411.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC629
Deuteranopia (green-blind)
#DBC54D
Tritanopia (blue-blind)
#B8C8B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd341;
/* rgb */ color: rgb(175, 211, 65);
/* oklch */ color: oklch(81.4% 0.173 122.4);
Tailwind
colors: {
  custom: {
    50: '#cae07e',
    500: '#afd341',
    950: '#000000',
  },
}
SCSS
$custom: #afd341;
$custom-light: #cae07e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd341",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 65
  },
  "hsl": {
    "h": 74.795,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81384,
    "c": 0.17261,
    "h": 122.4
  },
  "luminance": 0.56084
}

Semantic roles & 50–950 ramp

primary
#AFD341
secondary
#483484
accent
#42E56B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD341

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

Preview Lab → · Contrast checker → · Palette generator →

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