#C7DF56#C7DF56

#C7DF56 is a very light, vivid yellow-green. Relative luminance 0.656; OKLCH L 86.0% C 0.163 H 118.4°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#C7DF56
RGBrgb(199, 223, 86)
HSLhsl(71, 68%, 61%)
HSVhsv(71, 61%, 87%)
CMYKcmyk(10.8%, 0%, 61.4%, 12.5%)
CIE-LABlab(84.79, -26.48, 62.51)
CIE-LCHlch(84.79, 67.89, 112.96°)
OKLaboklab(85.97% -0.0773 0.1431)
OKLCHoklch(85.97% 0.163 118.4)
XYZxyz(51.6215, 65.5898, 18.7429)
Luminance0.6559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DF56 #6E56DF
analogous
#DFB256 #C7DF56 #82DF56
triadic
#C7DF56 #56C7DF #DF56C7
tetradic
#C7DF56 #56DFB2 #6E56DF #DF5682
square
#C7DF56 #56DFB2 #6E56DF #DF5682
split-complementary
#C7DF56 #5682DF #B256DF
monochromatic
#879D1E #B3D027 #C7DF56 #D8E989 #E9F2BD

Accessibility & contrast

On white

1.49
#C7DF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#C7DF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DF56
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DF56#FFFFFF#000000##000000
##C7DF561.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD345
Deuteranopia (green-blind)
#EAD45F
Tritanopia (blue-blind)
#D2D4C2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #c7df56;
/* rgb */ color: rgb(199, 223, 86);
/* oklch */ color: oklch(86.0% 0.163 118.4);
Tailwind
colors: {
  custom: {
    50: '#dbe98b',
    500: '#c7df56',
    950: '#000000',
  },
}
SCSS
$custom: #c7df56;
$custom-light: #dbe98b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7df56",
  "rgb": {
    "r": 199,
    "g": 223,
    "b": 86
  },
  "hsl": {
    "h": 70.511,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85974,
    "c": 0.16269,
    "h": 118.4
  },
  "luminance": 0.65589
}

Semantic roles & 50–950 ramp

primary
#C7DF56
secondary
#4B39A0
accent
#15D036
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7DF56

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

Preview Lab → · Contrast checker → · Palette generator →

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