#C7D651#C7D651

#C7D651 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.0% C 0.156 H 115.3°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#C7D651
RGBrgb(199, 214, 81)
HSLhsl(67, 62%, 58%)
HSVhsv(67, 62%, 84%)
CMYKcmyk(7%, 0%, 62.1%, 16.1%)
CIE-LABlab(82.29, -22.50, 61.90)
CIE-LCHlch(82.29, 65.86, 109.98°)
OKLaboklab(83.96% -0.0667 0.1412)
OKLCHoklch(83.96% 0.156 115.3)
XYZxyz(49.0861, 60.8301, 16.9386)
Luminance0.6083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D651 #6051D6
analogous
#D6A251 #C7D651 #84D651
triadic
#C7D651 #51C7D6 #D651C7
tetradic
#C7D651 #51D6A2 #6051D6 #D65184
square
#C7D651 #51D6A2 #6051D6 #D65184
split-complementary
#C7D651 #5184D6 #A251D6
monochromatic
#808C21 #ADBD2D #C7D651 #D7E283 #E7EDB4

Accessibility & contrast

On white

1.60
#C7D651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#C7D651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D651
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D651#FFFFFF#000000##000000
##C7D6511.001.6013.1713.17
#FFFFFF1.601.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC40
Deuteranopia (green-blind)
#E3CE5A
Tritanopia (blue-blind)
#D3CABA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d651;
/* rgb */ color: rgb(199, 214, 81);
/* oklch */ color: oklch(84.0% 0.156 115.3);
Tailwind
colors: {
  custom: {
    50: '#dbe288',
    500: '#c7d651',
    950: '#000000',
  },
}
SCSS
$custom: #c7d651;
$custom-light: #dbe288;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d651",
  "rgb": {
    "r": 199,
    "g": 214,
    "b": 81
  },
  "hsl": {
    "h": 66.767,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83955,
    "c": 0.15613,
    "h": 115.3
  },
  "luminance": 0.60829
}

Semantic roles & 50–950 ramp

primary
#C7D651
secondary
#443A92
accent
#43E555
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D651

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

Preview Lab → · Contrast checker → · Palette generator →

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