#AFD673#AFD673

#AFD673 is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.6% C 0.134 H 126.8°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#AFD673
RGBrgb(175, 214, 115)
HSLhsl(84, 55%, 65%)
HSVhsv(84, 46%, 84%)
CMYKcmyk(18.2%, 0%, 46.3%, 16.1%)
CIE-LABlab(80.99, -28.86, 44.53)
CIE-LCHlch(80.99, 53.06, 122.95°)
OKLaboklab(82.61% -0.0802 0.1073)
OKLCHoklch(82.61% 0.134 126.8)
XYZxyz(44.8200, 58.4444, 25.1359)
Luminance0.5845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD673 #9A73D6
analogous
#D6CB73 #AFD673 #7ED673
triadic
#AFD673 #73AFD6 #D673AF
tetradic
#AFD673 #73D6CB #9A73D6 #D6737E
square
#AFD673 #73D6CB #9A73D6 #D6737E
split-complementary
#AFD673 #737ED6 #CB73D6
monochromatic
#73A02F #94C844 #AFD673 #CAE4A2 #E5F2D2

Accessibility & contrast

On white

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

On black

12.69
#AFD673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD673
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD673#FFFFFF#000000##000000
##AFD6731.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB6B
Deuteranopia (green-blind)
#D9C879
Tritanopia (blue-blind)
#B4CEBF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd673;
/* rgb */ color: rgb(175, 214, 115);
/* oklch */ color: oklch(82.6% 0.134 126.8);
Tailwind
colors: {
  custom: {
    50: '#c8e29d',
    500: '#afd673',
    950: '#000000',
  },
}
SCSS
$custom: #afd673;
$custom-light: #c8e29d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd673",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 115
  },
  "hsl": {
    "h": 83.636,
    "s": 54.696,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82606,
    "c": 0.1339,
    "h": 126.8
  },
  "luminance": 0.58445
}

Semantic roles & 50–950 ramp

primary
#AFD673
secondary
#6D49A4
accent
#23C262
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD673

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

Preview Lab → · Contrast checker → · Palette generator →

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