#C7DC46#C7DC46

#C7DC46 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.2% C 0.171 H 117.1°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#C7DC46
RGBrgb(199, 220, 70)
HSLhsl(68, 68%, 57%)
HSVhsv(68, 68%, 86%)
CMYKcmyk(9.5%, 0%, 68.2%, 13.7%)
CIE-LABlab(83.85, -26.07, 67.82)
CIE-LCHlch(83.85, 72.66, 111.02°)
OKLaboklab(85.18% -0.0777 0.152)
OKLCHoklch(85.18% 0.171 117.1)
XYZxyz(50.2530, 63.7713, 15.4549)
Luminance0.6377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DC46 #5B46DC
analogous
#DCA646 #C7DC46 #7CDC46
triadic
#C7DC46 #46C7DC #DC46C7
tetradic
#C7DC46 #46DCA6 #5B46DC #DC467C
square
#C7DC46 #46DCA6 #5B46DC #DC467C
split-complementary
#C7DC46 #467CDC #A646DC
monochromatic
#7D8D1B #ABC024 #C7DC46 #D7E679 #E6EFAD

Accessibility & contrast

On white

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

On black

13.75
#C7DC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DC46
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DC46#FFFFFF#000000##000000
##C7DC461.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7dc46;
/* rgb */ color: rgb(199, 220, 70);
/* oklch */ color: oklch(85.2% 0.171 117.1);
Tailwind
colors: {
  custom: {
    50: '#dbe682',
    500: '#c7dc46',
    950: '#000000',
  },
}
SCSS
$custom: #c7dc46;
$custom-light: #dbe682;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dc46",
  "rgb": {
    "r": 199,
    "g": 220,
    "b": 70
  },
  "hsl": {
    "h": 68.4,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8518,
    "c": 0.17075,
    "h": 117.1
  },
  "luminance": 0.63771
}

Semantic roles & 50–950 ramp

primary
#C7DC46
secondary
#413492
accent
#3DEB55
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C7DC46

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

Preview Lab → · Contrast checker → · Palette generator →

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