#AFC549#AFC549

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

Color values

HEX#AFC549
RGBrgb(175, 197, 73)
HSLhsl(71, 52%, 53%)
HSVhsv(71, 63%, 77%)
CMYKcmyk(11.2%, 0%, 62.9%, 22.7%)
CIE-LABlab(75.78, -24.53, 57.74)
CIE-LCHlch(75.78, 62.74, 113.02°)
OKLaboklab(78.28% -0.0718 0.1318)
OKLCHoklch(78.28% 0.15 118.6)
XYZxyz(38.8487, 49.5278, 13.8153)
Luminance0.4953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC549 #5F49C5
analogous
#C59D49 #AFC549 #71C549
triadic
#AFC549 #49AFC5 #C549AF
tetradic
#AFC549 #49C59D #5F49C5 #C54971
square
#AFC549 #49C59D #5F49C5 #C54971
split-complementary
#AFC549 #4971C5 #9D49C5
monochromatic
#627024 #8B9E32 #AFC549 #C3D477 #D8E3A6

Accessibility & contrast

On white

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

On black

10.91
#AFC549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC549
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC549#FFFFFF#000000##000000
##AFC5491.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc549;
/* rgb */ color: rgb(175, 197, 73);
/* oklch */ color: oklch(78.3% 0.150 118.6);
Tailwind
colors: {
  custom: {
    50: '#cad681',
    500: '#afc549',
    950: '#000000',
  },
}
SCSS
$custom: #afc549;
$custom-light: #cad681;
$custom-dark: #000000;
JSON
{
  "hex": "#afc549",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 73
  },
  "hsl": {
    "h": 70.645,
    "s": 51.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78276,
    "c": 0.15008,
    "h": 118.6
  },
  "luminance": 0.49528
}

Semantic roles & 50–950 ramp

primary
#AFC549
secondary
#A49AD0
accent
#4DDB66
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140B
muted
#82837C

Preview Lab

Preview with #AFC549

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

Preview Lab → · Contrast checker → · Palette generator →

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