#C7DC5C#C7DC5C

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

Color values

HEX#C7DC5C
RGBrgb(199, 220, 92)
HSLhsl(70, 65%, 61%)
HSVhsv(70, 58%, 86%)
CMYKcmyk(9.5%, 0%, 58.2%, 13.7%)
CIE-LABlab(84.02, -24.61, 59.13)
CIE-LCHlch(84.02, 64.04, 112.59°)
OKLaboklab(85.37% -0.0715 0.1367)
OKLCHoklch(85.37% 0.154 117.6)
XYZxyz(51.0790, 64.1017, 19.8052)
Luminance0.6410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DC5C #715CDC
analogous
#DCB15C #C7DC5C #87DC5C
triadic
#C7DC5C #5CC7DC #DC5CC7
tetradic
#C7DC5C #5CDCB1 #715CDC #DC5C87
square
#C7DC5C #5CDCB1 #715CDC #DC5C87
split-complementary
#C7DC5C #5C87DC #B15CDC
monochromatic
#889C22 #B4CE2C #C7DC5C #D8E78E #EAF2C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7DC5C#FFFFFF#000000##000000
##C7DC5C1.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)
#E9D14E
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#D2D1C0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c7dc5c;
/* rgb */ color: rgb(199, 220, 92);
/* oklch */ color: oklch(85.4% 0.154 117.6);
Tailwind
colors: {
  custom: {
    50: '#dae68f',
    500: '#c7dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #c7dc5c;
$custom-light: #dae68f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dc5c",
  "rgb": {
    "r": 199,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 69.844,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85374,
    "c": 0.15426,
    "h": 117.6
  },
  "luminance": 0.64101
}

Semantic roles & 50–950 ramp

primary
#C7DC5C
secondary
#4D3CA0
accent
#19CC36
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #C7DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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