#AFD246#AFD246

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

Color values

HEX#AFD246
RGBrgb(175, 210, 70)
HSLhsl(75, 61%, 55%)
HSVhsv(75, 67%, 82%)
CMYKcmyk(16.7%, 0%, 66.7%, 17.6%)
CIE-LABlab(79.41, -30.94, 62.77)
CIE-LCHlch(79.41, 69.98, 116.24°)
OKLaboklab(81.19% -0.0898 0.142)
OKLCHoklch(81.19% 0.168 122.3)
XYZxyz(41.8318, 55.6492, 14.3307)
Luminance0.5565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD246 #6946D2
analogous
#D2AF46 #AFD246 #69D246
triadic
#AFD246 #46AFD2 #D246AF
tetradic
#AFD246 #46D2AF #6946D2 #D24669
square
#AFD246 #46D2AF #6946D2 #D24669
split-complementary
#AFD246 #4669D2 #AF46D2
monochromatic
#677F1F #8FB02B #AFD246 #C4DE77 #DAEAA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD246#FFFFFF#000000##000000
##AFD2461.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)
#DEC632
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#B8C8B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd246;
/* rgb */ color: rgb(175, 210, 70);
/* oklch */ color: oklch(81.2% 0.168 122.3);
Tailwind
colors: {
  custom: {
    50: '#cadf81',
    500: '#afd246',
    950: '#000000',
  },
}
SCSS
$custom: #afd246;
$custom-light: #cadf81;
$custom-dark: #000000;
JSON
{
  "hex": "#afd246",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 70
  },
  "hsl": {
    "h": 75,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81195,
    "c": 0.16803,
    "h": 122.3
  },
  "luminance": 0.55649
}

Semantic roles & 50–950 ramp

primary
#AFD246
secondary
#4A3686
accent
#44E46C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD246

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

Preview Lab → · Contrast checker → · Palette generator →

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