#C7EC56#C7EC56

#C7EC56 is a very light, vivid yellow-green. Relative luminance 0.728; OKLCH L 88.8% C 0.178 H 122.0°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#C7EC56
RGBrgb(199, 236, 86)
HSLhsl(75, 80%, 63%)
HSVhsv(75, 64%, 93%)
CMYKcmyk(15.7%, 0%, 63.6%, 7.5%)
CIE-LABlab(88.35, -32.57, 66.34)
CIE-LCHlch(88.35, 73.90, 116.15°)
OKLaboklab(88.84% -0.0943 0.1512)
OKLCHoklch(88.84% 0.178 122)
XYZxyz(55.2290, 72.8048, 19.9455)
Luminance0.7280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7EC56 #7B56EC
analogous
#ECC656 #C7EC56 #7CEC56
triadic
#C7EC56 #56C7EC #EC56C7
tetradic
#C7EC56 #56ECC6 #7B56EC #EC567C
square
#C7EC56 #56ECC6 #7B56EC #EC567C
split-complementary
#C7EC56 #567CEC #C656EC
monochromatic
#8CB314 #B5E61F #C7EC56 #D9F28D #EBF8C4

Accessibility & contrast

On white

1.35
#C7EC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.56
#C7EC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7EC56
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7EC56#FFFFFF#000000##000000
##C7EC561.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE43
Deuteranopia (green-blind)
#F5DE61
Tritanopia (blue-blind)
#D1E1CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #c7ec56;
/* rgb */ color: rgb(199, 236, 86);
/* oklch */ color: oklch(88.8% 0.178 122.0);
Tailwind
colors: {
  custom: {
    50: '#dbf28c',
    500: '#c7ec56',
    950: '#000000',
  },
}
SCSS
$custom: #c7ec56;
$custom-light: #dbf28c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ec56",
  "rgb": {
    "r": 199,
    "g": 236,
    "b": 86
  },
  "hsl": {
    "h": 74.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.88844,
    "c": 0.17821,
    "h": 122
  },
  "luminance": 0.72805
}

Semantic roles & 50–950 ramp

primary
#C7EC56
secondary
#5333B3
accent
#09DC3D
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #C7EC56

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

Preview Lab → · Contrast checker → · Palette generator →

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