#AFD645#AFD645

#AFD645 is a very light, vivid yellow-green. Relative luminance 0.576; OKLCH L 82.1% C 0.174 H 123.3°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#AFD645
RGBrgb(175, 214, 69)
HSLhsl(76, 64%, 55%)
HSVhsv(76, 68%, 84%)
CMYKcmyk(18.2%, 0%, 67.8%, 16.1%)
CIE-LABlab(80.54, -32.86, 64.31)
CIE-LCHlch(80.54, 72.22, 117.07°)
OKLaboklab(82.1% -0.0953 0.1451)
OKLCHoklch(82.1% 0.174 123.3)
XYZxyz(42.8004, 57.6365, 14.4992)
Luminance0.5764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD645 #6C45D6
analogous
#D6B545 #AFD645 #66D645
triadic
#AFD645 #45AFD6 #D645AF
tetradic
#AFD645 #45D6B5 #6C45D6 #D64566
square
#AFD645 #45D6B5 #6C45D6 #D64566
split-complementary
#AFD645 #4566D6 #B545D6
monochromatic
#68841D #90B628 #AFD645 #C5E177 #DAECA9

Accessibility & contrast

On white

1.68
#AFD645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#AFD645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD645
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD645#FFFFFF#000000##000000
##AFD6451.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92F
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#B7CCB9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd645;
/* rgb */ color: rgb(175, 214, 69);
/* oklch */ color: oklch(82.1% 0.174 123.3);
Tailwind
colors: {
  custom: {
    50: '#cae281',
    500: '#afd645',
    950: '#000000',
  },
}
SCSS
$custom: #afd645;
$custom-light: #cae281;
$custom-dark: #000000;
JSON
{
  "hex": "#afd645",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 69
  },
  "hsl": {
    "h": 76.138,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82099,
    "c": 0.17356,
    "h": 123.3
  },
  "luminance": 0.57637
}

Semantic roles & 50–950 ramp

primary
#AFD645
secondary
#4C358A
accent
#41E76E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD645

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

Preview Lab → · Contrast checker → · Palette generator →

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