#AFC448#AFC448

#AFC448 is a light, vivid yellow-green. Relative luminance 0.491; OKLCH L 78.0% C 0.150 H 118.2°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#AFC448
RGBrgb(175, 196, 72)
HSLhsl(70, 51%, 53%)
HSVhsv(70, 63%, 77%)
CMYKcmyk(10.7%, 0%, 63.3%, 23.1%)
CIE-LABlab(75.49, -24.12, 57.85)
CIE-LCHlch(75.49, 62.67, 112.63°)
OKLaboklab(78.04% -0.0707 0.1319)
OKLCHoklch(78.04% 0.15 118.2)
XYZxyz(38.5895, 49.0620, 13.5666)
Luminance0.4906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC448 #5D48C4
analogous
#C49B48 #AFC448 #71C448
triadic
#AFC448 #48AFC4 #C448AF
tetradic
#AFC448 #48C49B #5D48C4 #C44871
square
#AFC448 #48C49B #5D48C4 #C44871
split-complementary
#AFC448 #4871C4 #9B48C4
monochromatic
#616E23 #8A9C32 #AFC448 #C3D376 #D7E2A5

Accessibility & contrast

On white

1.94
#AFC448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#AFC448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC448
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC448#FFFFFF#000000##000000
##AFC4481.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA38
Deuteranopia (green-blind)
#CEBB51
Tritanopia (blue-blind)
#B9BAAA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc448;
/* rgb */ color: rgb(175, 196, 72);
/* oklch */ color: oklch(78.0% 0.150 118.2);
Tailwind
colors: {
  custom: {
    50: '#cad581',
    500: '#afc448',
    950: '#000000',
  },
}
SCSS
$custom: #afc448;
$custom-light: #cad581;
$custom-dark: #000000;
JSON
{
  "hex": "#afc448",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 72
  },
  "hsl": {
    "h": 70.161,
    "s": 51.24,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78041,
    "c": 0.14966,
    "h": 118.2
  },
  "luminance": 0.49062
}

Semantic roles & 50–950 ramp

primary
#AFC448
secondary
#A299CF
accent
#4DDB65
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140B
muted
#82837C

Preview Lab

Preview with #AFC448

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

Preview Lab → · Contrast checker → · Palette generator →

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