#C7D04D#C7D04D

#C7D04D is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.6% C 0.152 H 113.0°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#C7D04D
RGBrgb(199, 208, 77)
HSLhsl(64, 58%, 56%)
HSVhsv(64, 63%, 82%)
CMYKcmyk(4.3%, 0%, 63%, 18.4%)
CIE-LABlab(80.62, -19.83, 61.77)
CIE-LCHlch(80.62, 64.87, 107.80°)
OKLaboklab(82.61% -0.0596 0.1403)
OKLCHoklch(82.61% 0.152 113)
XYZxyz(47.4499, 57.7906, 15.6749)
Luminance0.5779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D04D #564DD0
analogous
#D0974D #C7D04D #85D04D
triadic
#C7D04D #4DC7D0 #D04DC7
tetradic
#C7D04D #4DD097 #564DD0 #D04D85
square
#C7D04D #4DD097 #564DD0 #D04D85
split-complementary
#C7D04D #4D85D0 #974DD0
monochromatic
#7A8122 #A8B12F #C7D04D #D6DD7D #E5EAAE

Accessibility & contrast

On white

1.67
#C7D04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#C7D04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D04D
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D04D#FFFFFF#000000##000000
##C7D04D1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73C
Deuteranopia (green-blind)
#DFCA56
Tritanopia (blue-blind)
#D4C4B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7d04d;
/* rgb */ color: rgb(199, 208, 77);
/* oklch */ color: oklch(82.6% 0.152 113.0);
Tailwind
colors: {
  custom: {
    50: '#dbde85',
    500: '#c7d04d',
    950: '#000000',
  },
}
SCSS
$custom: #c7d04d;
$custom-light: #dbde85;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d04d",
  "rgb": {
    "r": 199,
    "g": 208,
    "b": 77
  },
  "hsl": {
    "h": 64.122,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82612,
    "c": 0.15248,
    "h": 113
  },
  "luminance": 0.5779
}

Semantic roles & 50–950 ramp

primary
#C7D04D
secondary
#3F3988
accent
#46E151
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D04D

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

Preview Lab → · Contrast checker → · Palette generator →

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