#AFD843#AFD843

#AFD843 is a very light, vivid yellow-green. Relative luminance 0.586; OKLCH L 82.5% C 0.177 H 123.7°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#AFD843
RGBrgb(175, 216, 67)
HSLhsl(77, 66%, 55%)
HSVhsv(77, 69%, 85%)
CMYKcmyk(19%, 0%, 69%, 15.3%)
CIE-LABlab(81.09, -33.91, 65.62)
CIE-LCHlch(81.09, 73.86, 117.33°)
OKLaboklab(82.54% -0.0983 0.1475)
OKLCHoklch(82.54% 0.177 123.7)
XYZxyz(43.2486, 58.6306, 14.3475)
Luminance0.5863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD843 #6C43D8
analogous
#D8B643 #AFD843 #64D843
triadic
#AFD843 #43AFD8 #D843AF
tetradic
#AFD843 #43D8B6 #6C43D8 #D84364
square
#AFD843 #43D8B6 #6C43D8 #D84364
split-complementary
#AFD843 #4364D8 #B643D8
monochromatic
#68851C #90B826 #AFD843 #C5E376 #DAEDA8

Accessibility & contrast

On white

1.65
#AFD843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#AFD843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD843
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD843#FFFFFF#000000##000000
##AFD8431.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB2B
Deuteranopia (green-blind)
#DFC94F
Tritanopia (blue-blind)
#B7CDBA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd843;
/* rgb */ color: rgb(175, 216, 67);
/* oklch */ color: oklch(82.5% 0.177 123.7);
Tailwind
colors: {
  custom: {
    50: '#cae480',
    500: '#afd843',
    950: '#000000',
  },
}
SCSS
$custom: #afd843;
$custom-light: #cae480;
$custom-dark: #000000;
JSON
{
  "hex": "#afd843",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 67
  },
  "hsl": {
    "h": 76.51,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8254,
    "c": 0.17729,
    "h": 123.7
  },
  "luminance": 0.58631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD843

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

Preview Lab → · Contrast checker → · Palette generator →

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