#AFD672#AFD672

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

Color values

HEX#AFD672
RGBrgb(175, 214, 114)
HSLhsl(83, 55%, 64%)
HSVhsv(83, 47%, 84%)
CMYKcmyk(18.2%, 0%, 46.7%, 16.1%)
CIE-LABlab(80.97, -28.97, 45.00)
CIE-LCHlch(80.97, 53.52, 122.78°)
OKLaboklab(82.59% -0.0805 0.1082)
OKLCHoklch(82.59% 0.135 126.7)
XYZxyz(44.7628, 58.4215, 24.8345)
Luminance0.5842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD672 #9972D6
analogous
#D6CB72 #AFD672 #7DD672
triadic
#AFD672 #72AFD6 #D672AF
tetradic
#AFD672 #72D6CB #9972D6 #D6727D
square
#AFD672 #72D6CB #9972D6 #D6727D
split-complementary
#AFD672 #727DD6 #CB72D6
monochromatic
#739F2E #94C843 #AFD672 #CAE4A1 #E5F2D1

Accessibility & contrast

On white

1.66
#AFD672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#AFD672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD672
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD672#FFFFFF#000000##000000
##AFD6721.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd672;
/* rgb */ color: rgb(175, 214, 114);
/* oklch */ color: oklch(82.6% 0.135 126.7);
Tailwind
colors: {
  custom: {
    50: '#c8e29c',
    500: '#afd672',
    950: '#000000',
  },
}
SCSS
$custom: #afd672;
$custom-light: #c8e29c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd672",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 114
  },
  "hsl": {
    "h": 83.4,
    "s": 54.945,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82591,
    "c": 0.13491,
    "h": 126.7
  },
  "luminance": 0.58422
}

Semantic roles & 50–950 ramp

primary
#AFD672
secondary
#6C49A4
accent
#23C261
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD672

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

Preview Lab → · Contrast checker → · Palette generator →

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