#AFD145#AFD145

#AFD145 is a light, vivid yellow-green. Relative luminance 0.551; OKLCH L 81.0% C 0.168 H 122.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#AFD145
RGBrgb(175, 209, 69)
HSLhsl(75, 60%, 55%)
HSVhsv(75, 67%, 82%)
CMYKcmyk(16.3%, 0%, 67%, 18%)
CIE-LABlab(79.12, -30.53, 62.86)
CIE-LCHlch(79.12, 69.88, 115.91°)
OKLaboklab(80.96% -0.0888 0.142)
OKLCHoklch(80.96% 0.168 122)
XYZxyz(41.5544, 55.1445, 14.0838)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD145 #6745D1
analogous
#D1AD45 #AFD145 #69D145
triadic
#AFD145 #45AFD1 #D145AF
tetradic
#AFD145 #45D1AD #6745D1 #D14569
square
#AFD145 #45D1AD #6745D1 #D14569
split-complementary
#AFD145 #4569D1 #AD45D1
monochromatic
#667D1F #8EAE2B #AFD145 #C4DD76 #D9E9A7

Accessibility & contrast

On white

1.75
#AFD145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#AFD145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD145
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD145#FFFFFF#000000##000000
##AFD1451.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC531
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#B8C7B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd145;
/* rgb */ color: rgb(175, 209, 69);
/* oklch */ color: oklch(81.0% 0.168 122.0);
Tailwind
colors: {
  custom: {
    50: '#cadf80',
    500: '#afd145',
    950: '#000000',
  },
}
SCSS
$custom: #afd145;
$custom-light: #cadf80;
$custom-dark: #000000;
JSON
{
  "hex": "#afd145",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 69
  },
  "hsl": {
    "h": 74.571,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80959,
    "c": 0.16752,
    "h": 122
  },
  "luminance": 0.55145
}

Semantic roles & 50–950 ramp

primary
#AFD145
secondary
#493684
accent
#44E36B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD145

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

Preview Lab → · Contrast checker → · Palette generator →

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