#AFD943#AFD943

#AFD943 is a very light, vivid yellow-green. Relative luminance 0.591; OKLCH L 82.8% C 0.178 H 123.9°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#AFD943
RGBrgb(175, 217, 67)
HSLhsl(77, 66%, 56%)
HSVhsv(77, 69%, 85%)
CMYKcmyk(19.4%, 0%, 69.1%, 14.9%)
CIE-LABlab(81.37, -34.37, 65.91)
CIE-LCHlch(81.37, 74.33, 117.54°)
OKLaboklab(82.77% -0.0996 0.1481)
OKLCHoklch(82.77% 0.178 123.9)
XYZxyz(43.5056, 59.1446, 14.4331)
Luminance0.5915 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD943 #6D43D9
analogous
#D9B843 #AFD943 #64D943
triadic
#AFD943 #43AFD9 #D943AF
tetradic
#AFD943 #43D9B8 #6D43D9 #D94364
square
#AFD943 #43D9B8 #6D43D9 #D94364
split-complementary
#AFD943 #4364D9 #B843D9
monochromatic
#68861B #90B925 #AFD943 #C5E376 #DAEEA9

Accessibility & contrast

On white

1.64
#AFD943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#AFD943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD943
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD943#FFFFFF#000000##000000
##AFD9431.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB2B
Deuteranopia (green-blind)
#E0CA4F
Tritanopia (blue-blind)
#B7CEBB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd943;
/* rgb */ color: rgb(175, 217, 67);
/* oklch */ color: oklch(82.8% 0.178 123.9);
Tailwind
colors: {
  custom: {
    50: '#cae480',
    500: '#afd943',
    950: '#000000',
  },
}
SCSS
$custom: #afd943;
$custom-light: #cae480;
$custom-dark: #000000;
JSON
{
  "hex": "#afd943",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 67
  },
  "hsl": {
    "h": 76.8,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82769,
    "c": 0.17849,
    "h": 123.9
  },
  "luminance": 0.59145
}

Semantic roles & 50–950 ramp

primary
#AFD943
secondary
#4C338D
accent
#3FE96E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD943

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

Preview Lab → · Contrast checker → · Palette generator →

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