#C7D43C#C7D43C

#C7D43C is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.4% C 0.168 H 114.4°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#C7D43C
RGBrgb(199, 212, 60)
HSLhsl(65, 64%, 53%)
HSVhsv(65, 72%, 83%)
CMYKcmyk(6.1%, 0%, 71.7%, 16.9%)
CIE-LABlab(81.60, -22.74, 69.17)
CIE-LCHlch(81.60, 72.81, 108.20°)
OKLaboklab(83.36% -0.0694 0.1533)
OKLCHoklch(83.36% 0.168 114.4)
XYZxyz(47.9136, 59.5562, 13.2456)
Luminance0.5956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D43C #493CD4
analogous
#D4953C #C7D43C #7BD43C
triadic
#C7D43C #3CC7D4 #D43CC7
tetradic
#C7D43C #3CD495 #493CD4 #D43C7B
square
#C7D43C #3CD495 #493CD4 #D43C7B
split-complementary
#C7D43C #3C7BD4 #953CD4
monochromatic
#727B1B #A1AD26 #C7D43C #D5DF6E #E4EAA0

Accessibility & contrast

On white

1.63
#C7D43C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#C7D43C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D43C
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D43C#FFFFFF#000000##000000
##C7D43C1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA1F
Deuteranopia (green-blind)
#E3CC48
Tritanopia (blue-blind)
#D4C8B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c7d43c;
/* rgb */ color: rgb(199, 212, 60);
/* oklch */ color: oklch(83.4% 0.168 114.4);
Tailwind
colors: {
  custom: {
    50: '#dce17c',
    500: '#c7d43c',
    950: '#000000',
  },
}
SCSS
$custom: #c7d43c;
$custom-light: #dce17c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d43c",
  "rgb": {
    "r": 199,
    "g": 212,
    "b": 60
  },
  "hsl": {
    "h": 65.132,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.83355,
    "c": 0.16824,
    "h": 114.4
  },
  "luminance": 0.59555
}

Semantic roles & 50–950 ramp

primary
#C7D43C
secondary
#393282
accent
#41E74F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D43C

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

Preview Lab → · Contrast checker → · Palette generator →

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