#AFD748#AFD748

#AFD748 is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.4% C 0.173 H 123.7°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#AFD748
RGBrgb(175, 215, 72)
HSLhsl(77, 64%, 56%)
HSVhsv(77, 67%, 84%)
CMYKcmyk(18.6%, 0%, 66.5%, 15.7%)
CIE-LABlab(80.84, -33.13, 63.47)
CIE-LCHlch(80.84, 71.60, 117.56°)
OKLaboklab(82.35% -0.0957 0.1438)
OKLCHoklch(82.35% 0.173 123.7)
XYZxyz(43.1497, 58.1824, 15.0867)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD748 #7048D7
analogous
#D7B848 #AFD748 #68D748
triadic
#AFD748 #48AFD7 #D748AF
tetradic
#AFD748 #48D7B8 #7048D7 #D74868
square
#AFD748 #48D7B8 #7048D7 #D74868
split-complementary
#AFD748 #4868D7 #B848D7
monochromatic
#6A871E #91B929 #AFD748 #C5E27A #DBEDAC

Accessibility & contrast

On white

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

On black

12.64
#AFD748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD748
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD748#FFFFFF#000000##000000
##AFD7481.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd748;
/* rgb */ color: rgb(175, 215, 72);
/* oklch */ color: oklch(82.4% 0.173 123.7);
Tailwind
colors: {
  custom: {
    50: '#cae382',
    500: '#afd748',
    950: '#000000',
  },
}
SCSS
$custom: #afd748;
$custom-light: #cae382;
$custom-dark: #000000;
JSON
{
  "hex": "#afd748",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 72
  },
  "hsl": {
    "h": 76.783,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82351,
    "c": 0.17271,
    "h": 123.7
  },
  "luminance": 0.58183
}

Semantic roles & 50–950 ramp

primary
#AFD748
secondary
#4E368D
accent
#41E76F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD748

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

Preview Lab → · Contrast checker → · Palette generator →

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