#AFC548#AFC548

#AFC548 is a light, vivid yellow-green. Relative luminance 0.495; OKLCH L 78.3% C 0.151 H 118.5°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#AFC548
RGBrgb(175, 197, 72)
HSLhsl(71, 52%, 53%)
HSVhsv(71, 63%, 77%)
CMYKcmyk(11.2%, 0%, 63.5%, 22.7%)
CIE-LABlab(75.77, -24.60, 58.15)
CIE-LCHlch(75.77, 63.14, 112.93°)
OKLaboklab(78.27% -0.0721 0.1325)
OKLCHoklch(78.27% 0.151 118.5)
XYZxyz(38.8158, 49.5146, 13.6421)
Luminance0.4951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC548 #5E48C5
analogous
#C59C48 #AFC548 #70C548
triadic
#AFC548 #48AFC5 #C548AF
tetradic
#AFC548 #48C59C #5E48C5 #C54870
square
#AFC548 #48C59C #5E48C5 #C54870
split-complementary
#AFC548 #4870C5 #9C48C5
monochromatic
#626F23 #8B9E32 #AFC548 #C3D476 #D8E2A5

Accessibility & contrast

On white

1.93
#AFC548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#AFC548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC548
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC548#FFFFFF#000000##000000
##AFC5481.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB38
Deuteranopia (green-blind)
#CFBB51
Tritanopia (blue-blind)
#B9BBAB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc548;
/* rgb */ color: rgb(175, 197, 72);
/* oklch */ color: oklch(78.3% 0.151 118.5);
Tailwind
colors: {
  custom: {
    50: '#cad681',
    500: '#afc548',
    950: '#000000',
  },
}
SCSS
$custom: #afc548;
$custom-light: #cad681;
$custom-dark: #000000;
JSON
{
  "hex": "#afc548",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 70.56,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78267,
    "c": 0.15085,
    "h": 118.5
  },
  "luminance": 0.49514
}

Semantic roles & 50–950 ramp

primary
#AFC548
secondary
#A399CF
accent
#4CDB66
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140B
muted
#82837C

Preview Lab

Preview with #AFC548

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

Preview Lab → · Contrast checker → · Palette generator →

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