#C7DC42#C7DC42

#C7DC42 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.2% C 0.173 H 117.0°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#C7DC42
RGBrgb(199, 220, 66)
HSLhsl(68, 69%, 56%)
HSVhsv(68, 70%, 86%)
CMYKcmyk(9.5%, 0%, 70%, 13.7%)
CIE-LABlab(83.82, -26.28, 69.25)
CIE-LCHlch(83.82, 74.07, 110.79°)
OKLaboklab(85.15% -0.0787 0.1544)
OKLCHoklch(85.15% 0.173 117)
XYZxyz(50.1309, 63.7225, 14.8120)
Luminance0.6372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DC42 #5742DC
analogous
#DCA442 #C7DC42 #7ADC42
triadic
#C7DC42 #42C7DC #DC42C7
tetradic
#C7DC42 #42DCA4 #5742DC #DC427A
square
#C7DC42 #42DCA4 #5742DC #DC427A
split-complementary
#C7DC42 #427ADC #A442DC
monochromatic
#7B8A1A #A9BE23 #C7DC42 #D6E676 #E6EFA9

Accessibility & contrast

On white

1.53
#C7DC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#C7DC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DC42
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DC42#FFFFFF#000000##000000
##C7DC421.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD027
Deuteranopia (green-blind)
#E9D24E
Tritanopia (blue-blind)
#D3D0BE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c7dc42;
/* rgb */ color: rgb(199, 220, 66);
/* oklch */ color: oklch(85.2% 0.173 117.0);
Tailwind
colors: {
  custom: {
    50: '#dbe680',
    500: '#c7dc42',
    950: '#000000',
  },
}
SCSS
$custom: #c7dc42;
$custom-light: #dbe680;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dc42",
  "rgb": {
    "r": 199,
    "g": 220,
    "b": 66
  },
  "hsl": {
    "h": 68.182,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85152,
    "c": 0.1733,
    "h": 117
  },
  "luminance": 0.63722
}

Semantic roles & 50–950 ramp

primary
#C7DC42
secondary
#3F3290
accent
#3CEC54
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C7DC42

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

Preview Lab → · Contrast checker → · Palette generator →

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