#AFD245#AFD245

#AFD245 is a light, vivid yellow-green. Relative luminance 0.556; OKLCH L 81.2% C 0.169 H 122.3°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#AFD245
RGBrgb(175, 210, 69)
HSLhsl(75, 61%, 55%)
HSVhsv(75, 67%, 82%)
CMYKcmyk(16.7%, 0%, 67.1%, 17.6%)
CIE-LABlab(79.41, -31.00, 63.15)
CIE-LCHlch(79.41, 70.35, 116.15°)
OKLaboklab(81.19% -0.0901 0.1426)
OKLCHoklch(81.19% 0.169 122.3)
XYZxyz(41.8005, 55.6367, 14.1659)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD245 #6845D2
analogous
#D2AF45 #AFD245 #68D245
triadic
#AFD245 #45AFD2 #D245AF
tetradic
#AFD245 #45D2AF #6845D2 #D24568
square
#AFD245 #45D2AF #6845D2 #D24568
split-complementary
#AFD245 #4568D2 #AF45D2
monochromatic
#667E1F #8EAF2A #AFD245 #C4DE76 #D9EAA8

Accessibility & contrast

On white

1.73
#AFD245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#AFD245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD245
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD245#FFFFFF#000000##000000
##AFD2451.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd245;
/* rgb */ color: rgb(175, 210, 69);
/* oklch */ color: oklch(81.2% 0.169 122.3);
Tailwind
colors: {
  custom: {
    50: '#cadf80',
    500: '#afd245',
    950: '#000000',
  },
}
SCSS
$custom: #afd245;
$custom-light: #cadf80;
$custom-dark: #000000;
JSON
{
  "hex": "#afd245",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 69
  },
  "hsl": {
    "h": 74.894,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81187,
    "c": 0.16872,
    "h": 122.3
  },
  "luminance": 0.55637
}

Semantic roles & 50–950 ramp

primary
#AFD245
secondary
#493686
accent
#44E46B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD245

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

Preview Lab → · Contrast checker → · Palette generator →

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