#C7D156#C7D156

#C7D156 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 82.9% C 0.146 H 113.5°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#C7D156
RGBrgb(199, 209, 86)
HSLhsl(65, 57%, 58%)
HSVhsv(65, 59%, 82%)
CMYKcmyk(4.8%, 0%, 58.9%, 18%)
CIE-LABlab(80.97, -19.70, 58.35)
CIE-LCHlch(80.97, 61.59, 108.66°)
OKLaboklab(82.91% -0.0583 0.1343)
OKLCHoklch(82.91% 0.146 113.5)
XYZxyz(48.0345, 58.4158, 17.5473)
Luminance0.5841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D156 #6056D1
analogous
#D19D56 #C7D156 #89D156
triadic
#C7D156 #56C7D1 #D156C7
tetradic
#C7D156 #56D19D #6056D1 #D15689
square
#C7D156 #56D19D #6056D1 #D15689
split-complementary
#C7D156 #5689D1 #9D56D1
monochromatic
#808825 #ADB832 #C7D156 #D7DE86 #E7EBB6

Accessibility & contrast

On white

1.66
#C7D156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#C7D156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D156
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D156#FFFFFF#000000##000000
##C7D1561.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC848
Deuteranopia (green-blind)
#DFCA5E
Tritanopia (blue-blind)
#D3C6B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d156;
/* rgb */ color: rgb(199, 209, 86);
/* oklch */ color: oklch(82.9% 0.146 113.5);
Tailwind
colors: {
  custom: {
    50: '#dbdf8a',
    500: '#c7d156',
    950: '#000000',
  },
}
SCSS
$custom: #c7d156;
$custom-light: #dbdf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d156",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 64.878,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82914,
    "c": 0.14642,
    "h": 113.5
  },
  "luminance": 0.58415
}

Semantic roles & 50–950 ramp

primary
#C7D156
secondary
#443D8E
accent
#47E054
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D156

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

Preview Lab → · Contrast checker → · Palette generator →

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