#C7D847#C7D847

#C7D847 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.3% C 0.166 H 115.8°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#C7D847
RGBrgb(199, 216, 71)
HSLhsl(67, 65%, 56%)
HSVhsv(67, 67%, 85%)
CMYKcmyk(7.9%, 0%, 67.1%, 15.3%)
CIE-LABlab(82.76, -24.09, 66.35)
CIE-LCHlch(82.76, 70.59, 109.96°)
OKLaboklab(84.31% -0.0721 0.1491)
OKLCHoklch(84.31% 0.166 115.8)
XYZxyz(49.2476, 61.7095, 15.2768)
Luminance0.6171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D847 #5847D8
analogous
#D8A047 #C7D847 #7FD847
triadic
#C7D847 #47C7D8 #D847C7
tetradic
#C7D847 #47D8A0 #5847D8 #D8477F
square
#C7D847 #47D8A0 #5847D8 #D8477F
split-complementary
#C7D847 #477FD8 #A047D8
monochromatic
#7B881D #A9BA27 #C7D847 #D6E379 #E6EDAC

Accessibility & contrast

On white

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

On black

13.34
#C7D847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D847
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D847#FFFFFF#000000##000000
##C7D8471.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD31
Deuteranopia (green-blind)
#E5CF52
Tritanopia (blue-blind)
#D3CCBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d847;
/* rgb */ color: rgb(199, 216, 71);
/* oklch */ color: oklch(84.3% 0.166 115.8);
Tailwind
colors: {
  custom: {
    50: '#dbe382',
    500: '#c7d847',
    950: '#000000',
  },
}
SCSS
$custom: #c7d847;
$custom-light: #dbe382;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d847",
  "rgb": {
    "r": 199,
    "g": 216,
    "b": 71
  },
  "hsl": {
    "h": 67.034,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84309,
    "c": 0.16563,
    "h": 115.8
  },
  "luminance": 0.61709
}

Semantic roles & 50–950 ramp

primary
#C7D847
secondary
#40358E
accent
#40E854
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D847

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

Preview Lab → · Contrast checker → · Palette generator →

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