#AFD546#AFD546

#AFD546 is a light, vivid yellow-green. Relative luminance 0.571; OKLCH L 81.9% C 0.172 H 123.1°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#AFD546
RGBrgb(175, 213, 70)
HSLhsl(76, 63%, 55%)
HSVhsv(76, 67%, 84%)
CMYKcmyk(17.8%, 0%, 67.1%, 16.5%)
CIE-LABlab(80.26, -32.34, 63.65)
CIE-LCHlch(80.26, 71.39, 116.93°)
OKLaboklab(81.88% -0.0937 0.1438)
OKLCHoklch(81.88% 0.172 123.1)
XYZxyz(42.5794, 57.1444, 14.5799)
Luminance0.5715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD546 #6C46D5
analogous
#D5B346 #AFD546 #67D546
triadic
#AFD546 #46AFD5 #D546AF
tetradic
#AFD546 #46D5B3 #6C46D5 #D54667
square
#AFD546 #46D5B3 #6C46D5 #D54667
split-complementary
#AFD546 #4667D5 #B346D5
monochromatic
#68831E #90B529 #AFD546 #C5E078 #DAECAA

Accessibility & contrast

On white

1.69
#AFD546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#AFD546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD546
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD546#FFFFFF#000000##000000
##AFD5461.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C831
Deuteranopia (green-blind)
#DCC751
Tritanopia (blue-blind)
#B7CBB8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd546;
/* rgb */ color: rgb(175, 213, 70);
/* oklch */ color: oklch(81.9% 0.172 123.1);
Tailwind
colors: {
  custom: {
    50: '#cae281',
    500: '#afd546',
    950: '#000000',
  },
}
SCSS
$custom: #afd546;
$custom-light: #cae281;
$custom-dark: #000000;
JSON
{
  "hex": "#afd546",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 70
  },
  "hsl": {
    "h": 75.944,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81879,
    "c": 0.17167,
    "h": 123.1
  },
  "luminance": 0.57145
}

Semantic roles & 50–950 ramp

primary
#AFD546
secondary
#4C358A
accent
#42E66D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD546

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

Preview Lab → · Contrast checker → · Palette generator →

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