#C7D771#C7D771

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

Color values

HEX#C7D771
RGBrgb(199, 215, 113)
HSLhsl(69, 56%, 64%)
HSVhsv(69, 47%, 84%)
CMYKcmyk(7.4%, 0%, 47.4%, 15.7%)
CIE-LABlab(82.88, -20.34, 48.18)
CIE-LCHlch(82.88, 52.30, 112.89°)
OKLaboklab(84.53% -0.0575 0.115)
OKLCHoklch(84.53% 0.129 116.6)
XYZxyz(50.8348, 61.9357, 24.8964)
Luminance0.6193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D771 #8171D7
analogous
#D7B471 #C7D771 #94D771
triadic
#C7D771 #71C7D7 #D771C7
tetradic
#C7D771 #71D7B4 #8171D7 #D77194
square
#C7D771 #71D7B4 #8171D7 #D77194
split-complementary
#C7D771 #7194D7 #B471D7
monochromatic
#8EA02D #B4CA41 #C7D771 #DAE4A1 #EDF2D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D771#FFFFFF#000000##000000
##C7D7711.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)
#E3CE68
Deuteranopia (green-blind)
#E2CF76
Tritanopia (blue-blind)
#D1CDBF
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d771;
/* rgb */ color: rgb(199, 215, 113);
/* oklch */ color: oklch(84.5% 0.129 116.6);
Tailwind
colors: {
  custom: {
    50: '#dae39c',
    500: '#c7d771',
    950: '#000000',
  },
}
SCSS
$custom: #c7d771;
$custom-light: #dae39c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d771",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 69.412,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84532,
    "c": 0.12856,
    "h": 116.6
  },
  "luminance": 0.61935
}

Semantic roles & 50–950 ramp

primary
#C7D771
secondary
#5648A4
accent
#22C43B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D771

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

Preview Lab → · Contrast checker → · Palette generator →

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