#AFC795#AFC795

#AFC795 is a light, moderate yellow-green. Relative luminance 0.521; OKLCH L 79.9% C 0.073 H 128.8°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#AFC795
RGBrgb(175, 199, 149)
HSLhsl(89, 31%, 68%)
HSVhsv(89, 25%, 78%)
CMYKcmyk(12.1%, 0%, 25.1%, 22%)
CIE-LABlab(77.36, -17.01, 22.42)
CIE-LCHlch(77.36, 28.14, 127.19°)
OKLaboklab(79.87% -0.0457 0.0569)
OKLCHoklch(79.87% 0.073 128.8)
XYZxyz(43.5266, 52.1304, 36.1970)
Luminance0.5213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC795 #AD95C7
analogous
#C7C695 #AFC795 #96C795
triadic
#AFC795 #95AFC7 #C795AF
tetradic
#AFC795 #95C7C6 #AD95C7 #C79596
square
#AFC795 #95C7C6 #AD95C7 #C79596
split-complementary
#AFC795 #9596C7 #C695C7
monochromatic
#72944E #91B26D #AFC795 #CDDCBD #EBF1E5

Accessibility & contrast

On white

1.84
#AFC795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#AFC795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC795
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC795#FFFFFF#000000##000000
##AFC7951.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCC092
Deuteranopia (green-blind)
#C8BF97
Tritanopia (blue-blind)
#B1C2BA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afc795;
/* rgb */ color: rgb(175, 199, 149);
/* oklch */ color: oklch(79.9% 0.073 128.8);
Tailwind
colors: {
  custom: {
    50: '#c7d8b4',
    500: '#afc795',
    950: '#000000',
  },
}
SCSS
$custom: #afc795;
$custom-light: #c7d8b4;
$custom-dark: #000000;
JSON
{
  "hex": "#afc795",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 149
  },
  "hsl": {
    "h": 88.8,
    "s": 30.864,
    "l": 68.235
  },
  "oklch": {
    "l": 0.79874,
    "c": 0.07294,
    "h": 128.8
  },
  "luminance": 0.52131
}

Semantic roles & 50–950 ramp

primary
#AFC795
secondary
#7F659C
accent
#3CAA71
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131411
muted
#828381

Preview Lab

Preview with #AFC795

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

Preview Lab → · Contrast checker → · Palette generator →

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