#AFD097#AFD097

#AFD097 is a light, moderate yellow-green. Relative luminance 0.565; OKLCH L 81.9% C 0.085 H 132.5°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#AFD097
RGBrgb(175, 208, 151)
HSLhsl(95, 38%, 70%)
HSVhsv(95, 27%, 82%)
CMYKcmyk(15.9%, 0%, 27.4%, 18.4%)
CIE-LABlab(79.87, -21.20, 24.79)
CIE-LCHlch(79.87, 32.62, 130.54°)
OKLaboklab(81.9% -0.0574 0.0626)
OKLCHoklch(81.9% 0.085 132.5)
XYZxyz(45.8200, 56.4594, 37.7559)
Luminance0.5646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD097 #B897D0
analogous
#CBD097 #AFD097 #97D09B
triadic
#AFD097 #97AFD0 #D097AF
tetradic
#AFD097 #97CBD0 #B897D0 #D09B97
square
#AFD097 #97CBD0 #B897D0 #D09B97
split-complementary
#AFD097 #9B97D0 #D097CB
monochromatic
#6FA34A #8FBD6D #AFD097 #CFE3C1 #EFF5EA

Accessibility & contrast

On white

1.71
#AFD097 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#AFD097 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD097
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD097#FFFFFF#000000##000000
##AFD0971.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C893
Deuteranopia (green-blind)
#D0C59A
Tritanopia (blue-blind)
#B0CBC1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd097;
/* rgb */ color: rgb(175, 208, 151);
/* oklch */ color: oklch(81.9% 0.085 132.5);
Tailwind
colors: {
  custom: {
    50: '#c7deb6',
    500: '#afd097',
    950: '#000000',
  },
}
SCSS
$custom: #afd097;
$custom-light: #c7deb6;
$custom-dark: #000000;
JSON
{
  "hex": "#afd097",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 151
  },
  "hsl": {
    "h": 94.737,
    "s": 37.748,
    "l": 70.392
  },
  "oklch": {
    "l": 0.81897,
    "c": 0.08495,
    "h": 132.5
  },
  "luminance": 0.5646
}

Semantic roles & 50–950 ramp

primary
#AFD097
secondary
#8B66A6
accent
#35B17D
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFD097

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

Preview Lab → · Contrast checker → · Palette generator →

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