#AFC596#AFC596

#AFC596 is a light, moderate yellow-green. Relative luminance 0.512; OKLCH L 79.5% C 0.069 H 128.3°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#AFC596
RGBrgb(175, 197, 150)
HSLhsl(88, 29%, 68%)
HSVhsv(88, 24%, 77%)
CMYKcmyk(11.2%, 0%, 23.9%, 22.7%)
CIE-LABlab(76.83, -15.84, 21.16)
CIE-LCHlch(76.83, 26.43, 126.83°)
OKLaboklab(79.46% -0.0424 0.0538)
OKLCHoklch(79.46% 0.069 128.3)
XYZxyz(43.1496, 51.2482, 36.4669)
Luminance0.5125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC596 #AC96C5
analogous
#C5C396 #AFC596 #97C596
triadic
#AFC596 #96AFC5 #C596AF
tetradic
#AFC596 #96C5C3 #AC96C5 #C59697
square
#AFC596 #96C5C3 #AC96C5 #C59697
split-complementary
#AFC596 #9697C5 #C396C5
monochromatic
#729150 #91AF6F #AFC596 #CDDBBD #EBF1E5

Accessibility & contrast

On white

1.87
#AFC596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#AFC596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC596
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC596#FFFFFF#000000##000000
##AFC5961.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABF93
Deuteranopia (green-blind)
#C7BD98
Tritanopia (blue-blind)
#B1C1B8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc596;
/* rgb */ color: rgb(175, 197, 150);
/* oklch */ color: oklch(79.5% 0.069 128.3);
Tailwind
colors: {
  custom: {
    50: '#c7d6b5',
    500: '#afc596',
    950: '#000000',
  },
}
SCSS
$custom: #afc596;
$custom-light: #c7d6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afc596",
  "rgb": {
    "r": 175,
    "g": 197,
    "b": 150
  },
  "hsl": {
    "h": 88.085,
    "s": 28.834,
    "l": 68.039
  },
  "oklch": {
    "l": 0.79459,
    "c": 0.06852,
    "h": 128.3
  },
  "luminance": 0.51248
}

Semantic roles & 50–950 ramp

primary
#AFC596
secondary
#7E6699
accent
#3EA76F
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131411
muted
#828381

Preview Lab

Preview with #AFC596

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

Preview Lab → · Contrast checker → · Palette generator →

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