#AFC547#AFC547

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

Color values

HEX#AFC547
RGBrgb(175, 197, 71)
HSLhsl(70, 52%, 53%)
HSVhsv(70, 64%, 77%)
CMYKcmyk(11.2%, 0%, 64%, 22.7%)
CIE-LABlab(75.76, -24.67, 58.55)
CIE-LCHlch(75.76, 63.54, 112.85°)
OKLaboklab(78.26% -0.0723 0.1333)
OKLCHoklch(78.26% 0.152 118.5)
XYZxyz(38.7835, 49.5017, 13.4717)
Luminance0.4950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC547 #5D47C5
analogous
#C59C47 #AFC547 #70C547
triadic
#AFC547 #47AFC5 #C547AF
tetradic
#AFC547 #47C59C #5D47C5 #C54770
square
#AFC547 #47C59C #5D47C5 #C54770
split-complementary
#AFC547 #4770C5 #9C47C5
monochromatic
#616F23 #8A9D32 #AFC547 #C3D476 #D7E2A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC547#FFFFFF#000000##000000
##AFC5471.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)
#D1BB37
Deuteranopia (green-blind)
#CFBB50
Tritanopia (blue-blind)
#B9BBAB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc547;
/* rgb */ color: rgb(175, 197, 71);
/* oklch */ color: oklch(78.3% 0.152 118.5);
Tailwind
colors: {
  custom: {
    50: '#cad680',
    500: '#afc547',
    950: '#000000',
  },
}
SCSS
$custom: #afc547;
$custom-light: #cad680;
$custom-dark: #000000;
JSON
{
  "hex": "#afc547",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 71
  },
  "hsl": {
    "h": 70.476,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78258,
    "c": 0.15162,
    "h": 118.5
  },
  "luminance": 0.49501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC547

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

Preview Lab → · Contrast checker → · Palette generator →

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