#C7D64F#C7D64F

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

Color values

HEX#C7D64F
RGBrgb(199, 214, 79)
HSLhsl(67, 62%, 57%)
HSVhsv(67, 63%, 84%)
CMYKcmyk(7%, 0%, 63.1%, 16.1%)
CIE-LABlab(82.27, -22.63, 62.70)
CIE-LCHlch(82.27, 66.66, 109.85°)
OKLaboklab(83.94% -0.0673 0.1426)
OKLCHoklch(83.94% 0.158 115.3)
XYZxyz(49.0122, 60.8005, 16.5494)
Luminance0.6080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D64F #5E4FD6
analogous
#D6A24F #C7D64F #83D64F
triadic
#C7D64F #4FC7D6 #D64FC7
tetradic
#C7D64F #4FD6A2 #5E4FD6 #D64F83
square
#C7D64F #4FD6A2 #5E4FD6 #D64F83
split-complementary
#C7D64F #4F83D6 #A24FD6
monochromatic
#7F8A20 #ACBC2C #C7D64F #D7E281 #E7EDB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D64F#FFFFFF#000000##000000
##C7D64F1.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)
#E4CC3E
Deuteranopia (green-blind)
#E3CE58
Tritanopia (blue-blind)
#D3CABA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d64f;
/* rgb */ color: rgb(199, 214, 79);
/* oklch */ color: oklch(83.9% 0.158 115.3);
Tailwind
colors: {
  custom: {
    50: '#dbe286',
    500: '#c7d64f',
    950: '#000000',
  },
}
SCSS
$custom: #c7d64f;
$custom-light: #dbe286;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d64f",
  "rgb": {
    "r": 199,
    "g": 214,
    "b": 79
  },
  "hsl": {
    "h": 66.667,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83937,
    "c": 0.15765,
    "h": 115.3
  },
  "luminance": 0.608
}

Semantic roles & 50–950 ramp

primary
#C7D64F
secondary
#433990
accent
#43E555
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D64F

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

Preview Lab → · Contrast checker → · Palette generator →

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