#C7D642#C7D642

#C7D642 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 83.8% C 0.167 H 115.1°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#C7D642
RGBrgb(199, 214, 66)
HSLhsl(66, 64%, 55%)
HSVhsv(66, 69%, 84%)
CMYKcmyk(7%, 0%, 69.2%, 16.1%)
CIE-LABlab(82.18, -23.40, 67.62)
CIE-LCHlch(82.18, 71.56, 109.09°)
OKLaboklab(83.83% -0.0707 0.151)
OKLCHoklch(83.83% 0.167 115.1)
XYZxyz(48.5844, 60.6294, 14.2965)
Luminance0.6063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D642 #5142D6
analogous
#D69B42 #C7D642 #7DD642
triadic
#C7D642 #42C7D6 #D642C7
tetradic
#C7D642 #42D69B #5142D6 #D6427D
square
#C7D642 #42D69B #5142D6 #D6427D
split-complementary
#C7D642 #427DD6 #9B42D6
monochromatic
#77821C #A6B427 #C7D642 #D6E174 #E5ECA7

Accessibility & contrast

On white

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

On black

13.13
#C7D642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D642
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D642#FFFFFF#000000##000000
##C7D6421.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB2A
Deuteranopia (green-blind)
#E4CE4D
Tritanopia (blue-blind)
#D4CAB9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c7d642;
/* rgb */ color: rgb(199, 214, 66);
/* oklch */ color: oklch(83.8% 0.167 115.1);
Tailwind
colors: {
  custom: {
    50: '#dbe27f',
    500: '#c7d642',
    950: '#000000',
  },
}
SCSS
$custom: #c7d642;
$custom-light: #dbe27f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d642",
  "rgb": {
    "r": 199,
    "g": 214,
    "b": 66
  },
  "hsl": {
    "h": 66.081,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.83834,
    "c": 0.16671,
    "h": 115.1
  },
  "luminance": 0.60629
}

Semantic roles & 50–950 ramp

primary
#C7D642
secondary
#3C3488
accent
#40E751
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D642

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

Preview Lab → · Contrast checker → · Palette generator →

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