#C7DC4F#C7DC4F

#C7DC4F is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.3% C 0.165 H 117.3°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#C7DC4F
RGBrgb(199, 220, 79)
HSLhsl(69, 67%, 59%)
HSVhsv(69, 64%, 86%)
CMYKcmyk(9.5%, 0%, 64.1%, 13.7%)
CIE-LABlab(83.91, -25.52, 64.43)
CIE-LCHlch(83.91, 69.30, 111.61°)
OKLaboklab(85.25% -0.0753 0.1462)
OKLCHoklch(85.25% 0.165 117.3)
XYZxyz(50.5587, 63.8936, 17.0649)
Luminance0.6389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DC4F #644FDC
analogous
#DCAA4F #C7DC4F #80DC4F
triadic
#C7DC4F #4FC7DC #DC4FC7
tetradic
#C7DC4F #4FDCAA #644FDC #DC4F80
square
#C7DC4F #4FDCAA #644FDC #DC4F80
split-complementary
#C7DC4F #4F80DC #AA4FDC
monochromatic
#82931D #AFC627 #C7DC4F #D7E682 #E7F0B5

Accessibility & contrast

On white

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

On black

13.78
#C7DC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DC4F
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DC4F#FFFFFF#000000##000000
##C7DC4F1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13C
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#D3D0BF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #c7dc4f;
/* rgb */ color: rgb(199, 220, 79);
/* oklch */ color: oklch(85.3% 0.165 117.3);
Tailwind
colors: {
  custom: {
    50: '#dbe687',
    500: '#c7dc4f',
    950: '#000000',
  },
}
SCSS
$custom: #c7dc4f;
$custom-light: #dbe687;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dc4f",
  "rgb": {
    "r": 199,
    "g": 220,
    "b": 79
  },
  "hsl": {
    "h": 68.936,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85252,
    "c": 0.1645,
    "h": 117.3
  },
  "luminance": 0.63893
}

Semantic roles & 50–950 ramp

primary
#C7DC4F
secondary
#463798
accent
#3EEA58
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C7DC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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