#AFD148#AFD148

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

Color values

HEX#AFD148
RGBrgb(175, 209, 72)
HSLhsl(75, 60%, 55%)
HSVhsv(75, 66%, 82%)
CMYKcmyk(16.3%, 0%, 65.6%, 18%)
CIE-LABlab(79.15, -30.34, 61.71)
CIE-LCHlch(79.15, 68.76, 116.18°)
OKLaboklab(80.98% -0.088 0.14)
OKLCHoklch(80.98% 0.165 122.1)
XYZxyz(41.6498, 55.1827, 14.5868)
Luminance0.5518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD148 #6A48D1
analogous
#D1AF48 #AFD148 #6AD148
triadic
#AFD148 #48AFD1 #D148AF
tetradic
#AFD148 #48D1AF #6A48D1 #D1486A
square
#AFD148 #48D1AF #6A48D1 #D1486A
split-complementary
#AFD148 #486AD1 #AF48D1
monochromatic
#677F20 #8FB02C #AFD148 #C4DD79 #DAEAAA

Accessibility & contrast

On white

1.74
#AFD148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#AFD148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD148
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD148#FFFFFF#000000##000000
##AFD1481.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd148;
/* rgb */ color: rgb(175, 209, 72);
/* oklch */ color: oklch(81.0% 0.165 122.1);
Tailwind
colors: {
  custom: {
    50: '#cadf82',
    500: '#afd148',
    950: '#000000',
  },
}
SCSS
$custom: #afd148;
$custom-light: #cadf82;
$custom-dark: #000000;
JSON
{
  "hex": "#afd148",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 74.891,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80984,
    "c": 0.1654,
    "h": 122.1
  },
  "luminance": 0.55183
}

Semantic roles & 50–950 ramp

primary
#AFD148
secondary
#4B3786
accent
#45E36C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD148

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

Preview Lab → · Contrast checker → · Palette generator →

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