#AFD345#AFD345

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

Color values

HEX#AFD345
RGBrgb(175, 211, 69)
HSLhsl(75, 62%, 55%)
HSVhsv(75, 67%, 83%)
CMYKcmyk(17.1%, 0%, 67.3%, 17.3%)
CIE-LABlab(79.69, -31.47, 63.44)
CIE-LCHlch(79.69, 70.82, 116.38°)
OKLaboklab(81.42% -0.0914 0.1432)
OKLCHoklch(81.42% 0.17 122.5)
XYZxyz(42.0481, 56.1320, 14.2484)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD345 #6945D3
analogous
#D3B045 #AFD345 #68D345
triadic
#AFD345 #45AFD3 #D345AF
tetradic
#AFD345 #45D3B0 #6945D3 #D34568
square
#AFD345 #45D3B0 #6945D3 #D34568
split-complementary
#AFD345 #4568D3 #B045D3
monochromatic
#677F1E #8FB12A #AFD345 #C4DF76 #DAEAA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD345#FFFFFF#000000##000000
##AFD3451.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)
#DFC630
Deuteranopia (green-blind)
#DAC550
Tritanopia (blue-blind)
#B8C9B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd345;
/* rgb */ color: rgb(175, 211, 69);
/* oklch */ color: oklch(81.4% 0.170 122.5);
Tailwind
colors: {
  custom: {
    50: '#cae080',
    500: '#afd345',
    950: '#000000',
  },
}
SCSS
$custom: #afd345;
$custom-light: #cae080;
$custom-dark: #000000;
JSON
{
  "hex": "#afd345",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 69
  },
  "hsl": {
    "h": 75.211,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81415,
    "c": 0.16993,
    "h": 122.5
  },
  "luminance": 0.56132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD345

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

Preview Lab → · Contrast checker → · Palette generator →

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