#C7D856#C7D856

#C7D856 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.4% C 0.154 H 116.1°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#C7D856
RGBrgb(199, 216, 86)
HSLhsl(68, 63%, 59%)
HSVhsv(68, 60%, 85%)
CMYKcmyk(7.9%, 0%, 60.2%, 15.3%)
CIE-LABlab(82.87, -23.12, 60.44)
CIE-LCHlch(82.87, 64.71, 110.93°)
OKLaboklab(84.44% -0.0679 0.1387)
OKLCHoklch(84.44% 0.154 116.1)
XYZxyz(49.7898, 61.9264, 18.1324)
Luminance0.6193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D856 #6756D8
analogous
#D8A856 #C7D856 #86D856
triadic
#C7D856 #56C7D8 #D856C7
tetradic
#C7D856 #56D8A8 #6756D8 #D85686
square
#C7D856 #56D8A8 #6756D8 #D85686
split-complementary
#C7D856 #5686D8 #A856D8
monochromatic
#839222 #B0C42D #C7D856 #D7E388 #E8EFB9

Accessibility & contrast

On white

1.57
#C7D856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#C7D856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D856
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D856#FFFFFF#000000##000000
##C7D8561.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE47
Deuteranopia (green-blind)
#E4CF5E
Tritanopia (blue-blind)
#D2CDBC
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d856;
/* rgb */ color: rgb(199, 216, 86);
/* oklch */ color: oklch(84.4% 0.154 116.1);
Tailwind
colors: {
  custom: {
    50: '#dbe48b',
    500: '#c7d856',
    950: '#000000',
  },
}
SCSS
$custom: #c7d856;
$custom-light: #dbe48b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d856",
  "rgb": {
    "r": 199,
    "g": 216,
    "b": 86
  },
  "hsl": {
    "h": 67.846,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84439,
    "c": 0.15448,
    "h": 116.1
  },
  "luminance": 0.61926
}

Semantic roles & 50–950 ramp

primary
#C7D856
secondary
#473B97
accent
#42E658
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D856

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

Preview Lab → · Contrast checker → · Palette generator →

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