#C7DC52#C7DC52

#C7DC52 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.3% C 0.162 H 117.3°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#C7DC52
RGBrgb(199, 220, 82)
HSLhsl(69, 66%, 59%)
HSVhsv(69, 63%, 86%)
CMYKcmyk(9.5%, 0%, 62.7%, 13.7%)
CIE-LABlab(83.93, -25.32, 63.24)
CIE-LCHlch(83.93, 68.13, 111.82°)
OKLaboklab(85.28% -0.0745 0.1442)
OKLCHoklch(85.28% 0.162 117.3)
XYZxyz(50.6704, 63.9382, 17.6530)
Luminance0.6394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DC52 #6752DC
analogous
#DCAC52 #C7DC52 #82DC52
triadic
#C7DC52 #52C7DC #DC52C7
tetradic
#C7DC52 #52DCAC #6752DC #DC5282
square
#C7DC52 #52DCAC #6752DC #DC5282
split-complementary
#C7DC52 #5282DC #AC52DC
monochromatic
#83951E #B0C829 #C7DC52 #D7E685 #E8F1B8

Accessibility & contrast

On white

1.52
#C7DC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#C7DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DC52
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DC52#FFFFFF#000000##000000
##C7DC521.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#E8D25B
Tritanopia (blue-blind)
#D2D0BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c7dc52;
/* rgb */ color: rgb(199, 220, 82);
/* oklch */ color: oklch(85.3% 0.162 117.3);
Tailwind
colors: {
  custom: {
    50: '#dbe689',
    500: '#c7dc52',
    950: '#000000',
  },
}
SCSS
$custom: #c7dc52;
$custom-light: #dbe689;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dc52",
  "rgb": {
    "r": 199,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 69.13,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85278,
    "c": 0.16227,
    "h": 117.3
  },
  "luminance": 0.63938
}

Semantic roles & 50–950 ramp

primary
#C7DC52
secondary
#47389A
accent
#3FE959
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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