#AFD295#AFD295

#AFD295 is a very light, moderate yellow-green. Relative luminance 0.574; OKLCH L 82.3% C 0.090 H 132.4°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#AFD295
RGBrgb(175, 210, 149)
HSLhsl(94, 40%, 70%)
HSVhsv(94, 29%, 82%)
CMYKcmyk(16.7%, 0%, 29%, 17.6%)
CIE-LABlab(80.39, -22.49, 26.54)
CIE-LCHlch(80.39, 34.78, 130.28°)
OKLaboklab(82.3% -0.061 0.0668)
OKLCHoklch(82.3% 0.09 132.4)
XYZxyz(46.1496, 57.3764, 37.0713)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD295 #B895D2
analogous
#CDD295 #AFD295 #95D299
triadic
#AFD295 #95AFD2 #D295AF
tetradic
#AFD295 #95CDD2 #B895D2 #D29995
square
#AFD295 #95CDD2 #B895D2 #D29995
split-complementary
#AFD295 #9995D2 #D295CD
monochromatic
#6FA647 #8FC06A #AFD295 #CFE4C0 #EFF6EA

Accessibility & contrast

On white

1.68
#AFD295 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#AFD295 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD295
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD295#FFFFFF#000000##000000
##AFD2951.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C991
Deuteranopia (green-blind)
#D2C698
Tritanopia (blue-blind)
#B0CDC2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd295;
/* rgb */ color: rgb(175, 210, 149);
/* oklch */ color: oklch(82.3% 0.090 132.4);
Tailwind
colors: {
  custom: {
    50: '#c7e0b4',
    500: '#afd295',
    950: '#000000',
  },
}
SCSS
$custom: #afd295;
$custom-light: #c7e0b4;
$custom-dark: #000000;
JSON
{
  "hex": "#afd295",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 149
  },
  "hsl": {
    "h": 94.426,
    "s": 40.397,
    "l": 70.392
  },
  "oklch": {
    "l": 0.82298,
    "c": 0.09045,
    "h": 132.4
  },
  "luminance": 0.57377
}

Semantic roles & 50–950 ramp

primary
#AFD295
secondary
#8B63A8
accent
#32B37C
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFD295

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

Preview Lab → · Contrast checker → · Palette generator →

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