#C7DC5D#C7DC5D

#C7DC5D is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.4% C 0.153 H 117.7°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#C7DC5D
RGBrgb(199, 220, 93)
HSLhsl(70, 64%, 61%)
HSVhsv(70, 58%, 86%)
CMYKcmyk(9.5%, 0%, 57.7%, 13.7%)
CIE-LABlab(84.03, -24.53, 58.70)
CIE-LCHlch(84.03, 63.62, 112.68°)
OKLaboklab(85.38% -0.0712 0.1359)
OKLCHoklch(85.38% 0.153 117.7)
XYZxyz(51.1230, 64.1193, 20.0369)
Luminance0.6412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DC5D #725DDC
analogous
#DCB25D #C7DC5D #88DC5D
triadic
#C7DC5D #5DC7DC #DC5DC7
tetradic
#C7DC5D #5DDCB2 #725DDC #DC5D88
square
#C7DC5D #5DDCB2 #725DDC #DC5D88
split-complementary
#C7DC5D #5D88DC #B25DDC
monochromatic
#889D22 #B4CF2D #C7DC5D #D8E78F #EAF2C2

Accessibility & contrast

On white

1.52
#C7DC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#C7DC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DC5D
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DC5D#FFFFFF#000000##000000
##C7DC5D1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D14F
Deuteranopia (green-blind)
#E7D265
Tritanopia (blue-blind)
#D2D1C1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c7dc5d;
/* rgb */ color: rgb(199, 220, 93);
/* oklch */ color: oklch(85.4% 0.153 117.7);
Tailwind
colors: {
  custom: {
    50: '#dae68f',
    500: '#c7dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #c7dc5d;
$custom-light: #dae68f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dc5d",
  "rgb": {
    "r": 199,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 69.921,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85384,
    "c": 0.15341,
    "h": 117.7
  },
  "luminance": 0.64119
}

Semantic roles & 50–950 ramp

primary
#C7DC5D
secondary
#4D3DA1
accent
#19CC37
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C7DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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