#C7D64E#C7D64E

#C7D64E is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 83.9% C 0.158 H 115.2°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#C7D64E
RGBrgb(199, 214, 78)
HSLhsl(67, 62%, 57%)
HSVhsv(67, 64%, 84%)
CMYKcmyk(7%, 0%, 63.6%, 16.1%)
CIE-LABlab(82.26, -22.70, 63.10)
CIE-LCHlch(82.26, 67.05, 109.78°)
OKLaboklab(83.93% -0.0675 0.1433)
OKLCHoklch(83.93% 0.158 115.2)
XYZxyz(48.9760, 60.7861, 16.3591)
Luminance0.6079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D64E #5D4ED6
analogous
#D6A14E #C7D64E #83D64E
triadic
#C7D64E #4EC7D6 #D64EC7
tetradic
#C7D64E #4ED6A1 #5D4ED6 #D64E83
square
#C7D64E #4ED6A1 #5D4ED6 #D64E83
split-complementary
#C7D64E #4E83D6 #A14ED6
monochromatic
#7E8A20 #ACBB2B #C7D64E #D7E280 #E6EDB1

Accessibility & contrast

On white

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

On black

13.16
#C7D64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D64E
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D64E#FFFFFF#000000##000000
##C7D64E1.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC3C
Deuteranopia (green-blind)
#E3CE57
Tritanopia (blue-blind)
#D3CABA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d64e;
/* rgb */ color: rgb(199, 214, 78);
/* oklch */ color: oklch(83.9% 0.158 115.2);
Tailwind
colors: {
  custom: {
    50: '#dbe286',
    500: '#c7d64e',
    950: '#000000',
  },
}
SCSS
$custom: #c7d64e;
$custom-light: #dbe286;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d64e",
  "rgb": {
    "r": 199,
    "g": 214,
    "b": 78
  },
  "hsl": {
    "h": 66.618,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83929,
    "c": 0.15841,
    "h": 115.2
  },
  "luminance": 0.60785
}

Semantic roles & 50–950 ramp

primary
#C7D64E
secondary
#423890
accent
#42E554
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D64E

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

Preview Lab → · Contrast checker → · Palette generator →

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