#C7D64A#C7D64A

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

Color values

HEX#C7D64A
RGBrgb(199, 214, 74)
HSLhsl(66, 63%, 56%)
HSVhsv(66, 65%, 84%)
CMYKcmyk(7%, 0%, 65.4%, 16.1%)
CIE-LABlab(82.23, -22.95, 64.66)
CIE-LCHlch(82.23, 68.61, 109.54°)
OKLaboklab(83.9% -0.0686 0.146)
OKLCHoklch(83.9% 0.161 115.2)
XYZxyz(48.8370, 60.7304, 15.6267)
Luminance0.6073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D64A #594AD6
analogous
#D69F4A #C7D64A #81D64A
triadic
#C7D64A #4AC7D6 #D64AC7
tetradic
#C7D64A #4AD69F #594AD6 #D64A81
square
#C7D64A #4AD69F #594AD6 #D64A81
split-complementary
#C7D64A #4A81D6 #9F4AD6
monochromatic
#7C871F #AAB92A #C7D64A #D6E17C #E6EDAE

Accessibility & contrast

On white

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

On black

13.15
#C7D64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D64A
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D64A#FFFFFF#000000##000000
##C7D64A1.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7d64a;
/* rgb */ color: rgb(199, 214, 74);
/* oklch */ color: oklch(83.9% 0.161 115.2);
Tailwind
colors: {
  custom: {
    50: '#dbe284',
    500: '#c7d64a',
    950: '#000000',
  },
}
SCSS
$custom: #c7d64a;
$custom-light: #dbe284;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d64a",
  "rgb": {
    "r": 199,
    "g": 214,
    "b": 74
  },
  "hsl": {
    "h": 66.429,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83895,
    "c": 0.16132,
    "h": 115.2
  },
  "luminance": 0.6073
}

Semantic roles & 50–950 ramp

primary
#C7D64A
secondary
#40378D
accent
#42E653
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D64A

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

Preview Lab → · Contrast checker → · Palette generator →

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