#AFD146#AFD146

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

Color values

HEX#AFD146
RGBrgb(175, 209, 70)
HSLhsl(75, 60%, 55%)
HSVhsv(75, 67%, 82%)
CMYKcmyk(16.3%, 0%, 66.5%, 18%)
CIE-LABlab(79.13, -30.47, 62.48)
CIE-LCHlch(79.13, 69.51, 116.00°)
OKLaboklab(80.97% -0.0885 0.1414)
OKLCHoklch(80.97% 0.167 122.1)
XYZxyz(41.5857, 55.1570, 14.2487)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD146 #6846D1
analogous
#D1AD46 #AFD146 #6AD146
triadic
#AFD146 #46AFD1 #D146AF
tetradic
#AFD146 #46D1AD #6846D1 #D1466A
square
#AFD146 #46D1AD #6846D1 #D1466A
split-complementary
#AFD146 #466AD1 #AD46D1
monochromatic
#667D1F #8EAE2B #AFD146 #C4DD77 #D9E9A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD146#FFFFFF#000000##000000
##AFD1461.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)
#DDC532
Deuteranopia (green-blind)
#D9C451
Tritanopia (blue-blind)
#B8C7B5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd146;
/* rgb */ color: rgb(175, 209, 70);
/* oklch */ color: oklch(81.0% 0.167 122.1);
Tailwind
colors: {
  custom: {
    50: '#cadf81',
    500: '#afd146',
    950: '#000000',
  },
}
SCSS
$custom: #afd146;
$custom-light: #cadf81;
$custom-dark: #000000;
JSON
{
  "hex": "#afd146",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 70
  },
  "hsl": {
    "h": 74.676,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80967,
    "c": 0.16682,
    "h": 122.1
  },
  "luminance": 0.55157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD146

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

Preview Lab → · Contrast checker → · Palette generator →

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