#C7E28C#C7E28C

#C7E28C is a very light, moderate yellow-green. Relative luminance 0.684; OKLCH L 87.3% C 0.115 H 123.0°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#C7E28C
RGBrgb(199, 226, 140)
HSLhsl(79, 60%, 72%)
HSVhsv(79, 38%, 89%)
CMYKcmyk(11.9%, 0%, 38.1%, 11.4%)
CIE-LABlab(86.22, -22.73, 39.12)
CIE-LCHlch(86.22, 45.24, 120.16°)
OKLaboklab(87.32% -0.0623 0.0961)
OKLCHoklch(87.32% 0.115 123)
XYZxyz(55.4829, 68.4281, 35.0908)
Luminance0.6843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7E28C #A78CE2
analogous
#E2D28C #C7E28C #9CE28C
triadic
#C7E28C #8CC7E2 #E28CC7
tetradic
#C7E28C #8CE2D2 #A78CE2 #E28C9C
square
#C7E28C #8CE2D2 #A78CE2 #E28C9C
split-complementary
#C7E28C #8C9CE2 #D28CE2
monochromatic
#95C331 #AFD65B #C7E28C #DFEEBD #F3F9E7

Accessibility & contrast

On white

1.43
#C7E28C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#C7E28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7E28C
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7E28C#FFFFFF#000000##000000
##C7E28C1.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD886
Deuteranopia (green-blind)
#E8D890
Tritanopia (blue-blind)
#CDDACD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #c7e28c;
/* rgb */ color: rgb(199, 226, 140);
/* oklch */ color: oklch(87.3% 0.115 123.0);
Tailwind
colors: {
  custom: {
    50: '#d9ebae',
    500: '#c7e28c',
    950: '#000000',
  },
}
SCSS
$custom: #c7e28c;
$custom-light: #d9ebae;
$custom-dark: #000000;
JSON
{
  "hex": "#c7e28c",
  "rgb": {
    "r": 199,
    "g": 226,
    "b": 140
  },
  "hsl": {
    "h": 78.837,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.87323,
    "c": 0.11453,
    "h": 123
  },
  "luminance": 0.68428
}

Semantic roles & 50–950 ramp

primary
#C7E28C
secondary
#7758BA
accent
#1EC753
background
#FEFEFD
surface
#FBFDF7
border
#D4D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #C7E28C

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

Preview Lab → · Contrast checker → · Palette generator →

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