#AFD348#AFD348

#AFD348 is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.4% C 0.168 H 122.7°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#AFD348
RGBrgb(175, 211, 72)
HSLhsl(76, 61%, 55%)
HSVhsv(76, 66%, 83%)
CMYKcmyk(17.1%, 0%, 65.9%, 17.3%)
CIE-LABlab(79.71, -31.27, 62.30)
CIE-LCHlch(79.71, 69.71, 116.66°)
OKLaboklab(81.44% -0.0906 0.1413)
OKLCHoklch(81.44% 0.168 122.7)
XYZxyz(42.1436, 56.1702, 14.7513)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD348 #6C48D3
analogous
#D3B248 #AFD348 #69D348
triadic
#AFD348 #48AFD3 #D348AF
tetradic
#AFD348 #48D3B2 #6C48D3 #D34869
square
#AFD348 #48D3B2 #6C48D3 #D34869
split-complementary
#AFD348 #4869D3 #B248D3
monochromatic
#68811F #90B32B #AFD348 #C5DF79 #DAEBAB

Accessibility & contrast

On white

1.72
#AFD348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#AFD348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD348
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD348#FFFFFF#000000##000000
##AFD3481.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC635
Deuteranopia (green-blind)
#DAC553
Tritanopia (blue-blind)
#B8C9B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd348;
/* rgb */ color: rgb(175, 211, 72);
/* oklch */ color: oklch(81.4% 0.168 122.7);
Tailwind
colors: {
  custom: {
    50: '#cae082',
    500: '#afd348',
    950: '#000000',
  },
}
SCSS
$custom: #afd348;
$custom-light: #cae082;
$custom-dark: #000000;
JSON
{
  "hex": "#afd348",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 75.54,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81439,
    "c": 0.16783,
    "h": 122.7
  },
  "luminance": 0.5617
}

Semantic roles & 50–950 ramp

primary
#AFD348
secondary
#4C3789
accent
#43E46D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD348

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

Preview Lab → · Contrast checker → · Palette generator →

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