#AFD492#AFD492

#AFD492 is a very light, moderate yellow-green. Relative luminance 0.583; OKLCH L 82.7% C 0.097 H 132.0°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#AFD492
RGBrgb(175, 212, 146)
HSLhsl(94, 43%, 70%)
HSVhsv(94, 31%, 83%)
CMYKcmyk(17.5%, 0%, 31.1%, 16.9%)
CIE-LABlab(80.89, -23.91, 28.77)
CIE-LCHlch(80.89, 37.41, 129.73°)
OKLaboklab(82.68% -0.0649 0.0721)
OKLCHoklch(82.68% 0.097 132)
XYZxyz(46.4100, 58.2755, 35.9917)
Luminance0.5828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD492 #B792D4
analogous
#D0D492 #AFD492 #92D496
triadic
#AFD492 #92AFD4 #D492AF
tetradic
#AFD492 #92D0D4 #B792D4 #D49692
square
#AFD492 #92D0D4 #B792D4 #D49692
split-complementary
#AFD492 #9692D4 #D492D0
monochromatic
#70A943 #8FC366 #AFD492 #CFE5BE #EFF6E9

Accessibility & contrast

On white

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

On black

12.66
#AFD492 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD492
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD492#FFFFFF#000000##000000
##AFD4921.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DACB8E
Deuteranopia (green-blind)
#D4C895
Tritanopia (blue-blind)
#B0CFC3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd492;
/* rgb */ color: rgb(175, 212, 146);
/* oklch */ color: oklch(82.7% 0.097 132.0);
Tailwind
colors: {
  custom: {
    50: '#c7e1b2',
    500: '#afd492',
    950: '#000000',
  },
}
SCSS
$custom: #afd492;
$custom-light: #c7e1b2;
$custom-dark: #000000;
JSON
{
  "hex": "#afd492",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 146
  },
  "hsl": {
    "h": 93.636,
    "s": 43.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.82682,
    "c": 0.09705,
    "h": 132
  },
  "luminance": 0.58276
}

Semantic roles & 50–950 ramp

primary
#AFD492
secondary
#8A60AA
accent
#2FB77B
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFD492

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

Preview Lab → · Contrast checker → · Palette generator →

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