#C7D342#C7D342

#C7D342 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.2% C 0.163 H 114.1°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#C7D342
RGBrgb(199, 211, 66)
HSLhsl(65, 62%, 54%)
HSVhsv(65, 69%, 83%)
CMYKcmyk(5.7%, 0%, 68.7%, 17.3%)
CIE-LABlab(81.36, -21.95, 66.81)
CIE-LCHlch(81.36, 70.32, 108.19°)
OKLaboklab(83.18% -0.0666 0.1493)
OKLCHoklch(83.18% 0.163 114.1)
XYZxyz(47.8321, 59.1249, 14.0457)
Luminance0.5912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D342 #4E42D3
analogous
#D39742 #C7D342 #7ED342
triadic
#C7D342 #42C7D3 #D342C7
tetradic
#C7D342 #42D397 #4E42D3 #D3427E
square
#C7D342 #42D397 #4E42D3 #D3427E
split-complementary
#C7D342 #427ED3 #9742D3
monochromatic
#757D1D #A4AF29 #C7D342 #D6DF74 #E4EAA5

Accessibility & contrast

On white

1.64
#C7D342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#C7D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D342
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D342#FFFFFF#000000##000000
##C7D3421.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92B
Deuteranopia (green-blind)
#E2CC4D
Tritanopia (blue-blind)
#D4C7B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d342;
/* rgb */ color: rgb(199, 211, 66);
/* oklch */ color: oklch(83.2% 0.163 114.1);
Tailwind
colors: {
  custom: {
    50: '#dbe07f',
    500: '#c7d342',
    950: '#000000',
  },
}
SCSS
$custom: #c7d342;
$custom-light: #dbe07f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d342",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 64.966,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83177,
    "c": 0.16347,
    "h": 114.1
  },
  "luminance": 0.59124
}

Semantic roles & 50–950 ramp

primary
#C7D342
secondary
#3B3485
accent
#42E550
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D342

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

Preview Lab → · Contrast checker → · Palette generator →

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