#AFC546#AFC546

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

Color values

HEX#AFC546
RGBrgb(175, 197, 70)
HSLhsl(70, 52%, 52%)
HSVhsv(70, 64%, 77%)
CMYKcmyk(11.2%, 0%, 64.5%, 22.7%)
CIE-LABlab(75.75, -24.74, 58.95)
CIE-LCHlch(75.75, 63.93, 112.76°)
OKLaboklab(78.25% -0.0726 0.134)
OKLCHoklch(78.25% 0.152 118.5)
XYZxyz(38.7516, 49.4890, 13.3040)
Luminance0.4949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC546 #5C46C5
analogous
#C59C46 #AFC546 #6FC546
triadic
#AFC546 #46AFC5 #C546AF
tetradic
#AFC546 #46C59C #5C46C5 #C5466F
square
#AFC546 #46C59C #5C46C5 #C5466F
split-complementary
#AFC546 #466FC5 #9C46C5
monochromatic
#616E23 #8A9D31 #AFC546 #C3D475 #D7E2A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC546#FFFFFF#000000##000000
##AFC5461.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)
#D1BB35
Deuteranopia (green-blind)
#CFBB4F
Tritanopia (blue-blind)
#B9BBAB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc546;
/* rgb */ color: rgb(175, 197, 70);
/* oklch */ color: oklch(78.2% 0.152 118.5);
Tailwind
colors: {
  custom: {
    50: '#cad680',
    500: '#afc546',
    950: '#000000',
  },
}
SCSS
$custom: #afc546;
$custom-light: #cad680;
$custom-dark: #000000;
JSON
{
  "hex": "#afc546",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 70
  },
  "hsl": {
    "h": 70.394,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78249,
    "c": 0.15238,
    "h": 118.5
  },
  "luminance": 0.49489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFC546

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

Preview Lab → · Contrast checker → · Palette generator →

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