#C4E7AF#C4E7AF

#C4E7AF is a very light, moderate yellow-green. Relative luminance 0.720; OKLCH L 88.9% C 0.083 H 134.0°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#C4E7AF
RGBrgb(196, 231, 175)
HSLhsl(98, 54%, 80%)
HSVhsv(98, 24%, 91%)
CMYKcmyk(15.2%, 0%, 24.2%, 9.4%)
CIE-LABlab(87.96, -21.39, 23.58)
CIE-LCHlch(87.96, 31.84, 132.21°)
OKLaboklab(88.86% -0.0578 0.06)
OKLCHoklch(88.86% 0.083 134)
XYZxyz(59.0773, 71.9819, 51.3306)
Luminance0.7198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4E7AF #D2AFE7
analogous
#E0E7AF #C4E7AF #AFE7B6
triadic
#C4E7AF #AFC4E7 #E7AFC4
tetradic
#C4E7AF #AFE0E7 #D2AFE7 #E7B6AF
square
#C4E7AF #AFE0E7 #D2AFE7 #E7B6AF
split-complementary
#C4E7AF #B6AFE7 #E7AFE0
monochromatic
#7FCB51 #A1D980 #C4E7AF #E7F5DE #EEF8E7

Accessibility & contrast

On white

1.36
#C4E7AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.40
#C4E7AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4E7AF
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4E7AF#FFFFFF#000000##000000
##C4E7AF1.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDEAC
Deuteranopia (green-blind)
#E6DCB2
Tritanopia (blue-blind)
#C4E2D8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #c4e7af;
/* rgb */ color: rgb(196, 231, 175);
/* oklch */ color: oklch(88.9% 0.083 134.0);
Tailwind
colors: {
  custom: {
    50: '#d6eec7',
    500: '#c4e7af',
    950: '#000000',
  },
}
SCSS
$custom: #c4e7af;
$custom-light: #d6eec7;
$custom-dark: #000000;
JSON
{
  "hex": "#c4e7af",
  "rgb": {
    "r": 196,
    "g": 231,
    "b": 175
  },
  "hsl": {
    "h": 97.5,
    "s": 53.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.88856,
    "c": 0.0833,
    "h": 134
  },
  "luminance": 0.71983
}

Semantic roles & 50–950 ramp

primary
#C4E7AF
secondary
#A678C2
accent
#24C186
background
#FEFFFD
surface
#FBFEF9
border
#D4D6D2
text
#141613
muted
#838582

Preview Lab

Preview with #C4E7AF

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

Preview Lab → · Contrast checker → · Palette generator →

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