#C7DD40#C7DD40

#C7DD40 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.4% C 0.176 H 117.3°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#C7DD40
RGBrgb(199, 221, 64)
HSLhsl(68, 70%, 56%)
HSVhsv(68, 71%, 87%)
CMYKcmyk(10%, 0%, 71%, 13.3%)
CIE-LABlab(84.08, -26.86, 70.20)
CIE-LCHlch(84.08, 75.17, 110.94°)
OKLaboklab(85.36% -0.0805 0.1561)
OKLCHoklch(85.36% 0.176 117.3)
XYZxyz(50.3362, 64.2258, 14.5946)
Luminance0.6422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DD40 #5640DD
analogous
#DDA540 #C7DD40 #78DD40
triadic
#C7DD40 #40C7DD #DD40C7
tetradic
#C7DD40 #40DDA5 #5640DD #DD4078
square
#C7DD40 #40DDA5 #5640DD #DD4078
split-complementary
#C7DD40 #4078DD #A540DD
monochromatic
#7A8A19 #A8BE22 #C7DD40 #D6E674 #E5EFA8

Accessibility & contrast

On white

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

On black

13.85
#C7DD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DD40
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DD40#FFFFFF#000000##000000
##C7DD401.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD123
Deuteranopia (green-blind)
#EAD34D
Tritanopia (blue-blind)
#D3D1BF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #c7dd40;
/* rgb */ color: rgb(199, 221, 64);
/* oklch */ color: oklch(85.4% 0.176 117.3);
Tailwind
colors: {
  custom: {
    50: '#dce77f',
    500: '#c7dd40',
    950: '#000000',
  },
}
SCSS
$custom: #c7dd40;
$custom-light: #dce77f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7dd40",
  "rgb": {
    "r": 199,
    "g": 221,
    "b": 64
  },
  "hsl": {
    "h": 68.408,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85359,
    "c": 0.17562,
    "h": 117.3
  },
  "luminance": 0.64225
}

Semantic roles & 50–950 ramp

primary
#C7DD40
secondary
#3F3190
accent
#3BED54
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C7DD40

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

Preview Lab → · Contrast checker → · Palette generator →

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