#AFD745#AFD745

#AFD745 is a very light, vivid yellow-green. Relative luminance 0.581; OKLCH L 82.3% C 0.175 H 123.5°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#AFD745
RGBrgb(175, 215, 69)
HSLhsl(76, 65%, 56%)
HSVhsv(76, 68%, 84%)
CMYKcmyk(18.6%, 0%, 67.9%, 15.7%)
CIE-LABlab(80.82, -33.32, 64.60)
CIE-LCHlch(80.82, 72.69, 117.29°)
OKLaboklab(82.33% -0.0965 0.1457)
OKLCHoklch(82.33% 0.175 123.5)
XYZxyz(43.0542, 58.1442, 14.5838)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD745 #6D45D7
analogous
#D7B645 #AFD745 #66D745
triadic
#AFD745 #45AFD7 #D745AF
tetradic
#AFD745 #45D7B6 #6D45D7 #D74566
square
#AFD745 #45D7B6 #6D45D7 #D74566
split-complementary
#AFD745 #4566D7 #B645D7
monochromatic
#68851D #90B727 #AFD745 #C5E277 #DAEDAA

Accessibility & contrast

On white

1.66
#AFD745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#AFD745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD745
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD745#FFFFFF#000000##000000
##AFD7451.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA2F
Deuteranopia (green-blind)
#DEC851
Tritanopia (blue-blind)
#B7CDBA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd745;
/* rgb */ color: rgb(175, 215, 69);
/* oklch */ color: oklch(82.3% 0.175 123.5);
Tailwind
colors: {
  custom: {
    50: '#cae381',
    500: '#afd745',
    950: '#000000',
  },
}
SCSS
$custom: #afd745;
$custom-light: #cae381;
$custom-dark: #000000;
JSON
{
  "hex": "#afd745",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 69
  },
  "hsl": {
    "h": 76.438,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82327,
    "c": 0.17477,
    "h": 123.5
  },
  "luminance": 0.58145
}

Semantic roles & 50–950 ramp

primary
#AFD745
secondary
#4C358C
accent
#40E86E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD745

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

Preview Lab → · Contrast checker → · Palette generator →

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