#C7D640#C7D640

#C7D640 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 83.8% C 0.168 H 115.1°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#C7D640
RGBrgb(199, 214, 64)
HSLhsl(66, 65%, 55%)
HSVhsv(66, 70%, 84%)
CMYKcmyk(7%, 0%, 70.1%, 16.1%)
CIE-LABlab(82.17, -23.51, 68.33)
CIE-LCHlch(82.17, 72.26, 108.99°)
OKLaboklab(83.82% -0.0711 0.1522)
OKLCHoklch(83.82% 0.168 115.1)
XYZxyz(48.5265, 60.6062, 13.9913)
Luminance0.6060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D640 #4F40D6
analogous
#D69A40 #C7D640 #7CD640
triadic
#C7D640 #40C7D6 #D640C7
tetradic
#C7D640 #40D69A #4F40D6 #D6407C
square
#C7D640 #40D69A #4F40D6 #D6407C
split-complementary
#C7D640 #407CD6 #9A40D6
monochromatic
#76801B #A4B226 #C7D640 #D6E172 #E5ECA5

Accessibility & contrast

On white

1.60
#C7D640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#C7D640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D640
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D640#FFFFFF#000000##000000
##C7D6401.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB26
Deuteranopia (green-blind)
#E4CE4C
Tritanopia (blue-blind)
#D4CAB9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c7d640;
/* rgb */ color: rgb(199, 214, 64);
/* oklch */ color: oklch(83.8% 0.168 115.1);
Tailwind
colors: {
  custom: {
    50: '#dbe27e',
    500: '#c7d640',
    950: '#000000',
  },
}
SCSS
$custom: #c7d640;
$custom-light: #dbe27e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d640",
  "rgb": {
    "r": 199,
    "g": 214,
    "b": 64
  },
  "hsl": {
    "h": 66,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8382,
    "c": 0.16797,
    "h": 115.1
  },
  "luminance": 0.60605
}

Semantic roles & 50–950 ramp

primary
#C7D640
secondary
#3B3387
accent
#40E851
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D640

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

Preview Lab → · Contrast checker → · Palette generator →

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