#C7D04F#C7D04F

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

Color values

HEX#C7D04F
RGBrgb(199, 208, 79)
HSLhsl(64, 58%, 56%)
HSVhsv(64, 62%, 82%)
CMYKcmyk(4.3%, 0%, 62%, 18.4%)
CIE-LABlab(80.64, -19.70, 60.96)
CIE-LCHlch(80.64, 64.07, 107.91°)
OKLaboklab(82.63% -0.059 0.1389)
OKLCHoklch(82.63% 0.151 113)
XYZxyz(47.5216, 57.8193, 16.0525)
Luminance0.5782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D04F #584FD0
analogous
#D0994F #C7D04F #87D04F
triadic
#C7D04F #4FC7D0 #D04FC7
tetradic
#C7D04F #4FD099 #584FD0 #D04F87
square
#C7D04F #4FD099 #584FD0 #D04F87
split-complementary
#C7D04F #4F87D0 #994FD0
monochromatic
#7B8223 #A9B230 #C7D04F #D6DD7F #E6EAB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D04F#FFFFFF#000000##000000
##C7D04F1.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)
#DFC73F
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#D3C4B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7d04f;
/* rgb */ color: rgb(199, 208, 79);
/* oklch */ color: oklch(82.6% 0.151 113.0);
Tailwind
colors: {
  custom: {
    50: '#dbde86',
    500: '#c7d04f',
    950: '#000000',
  },
}
SCSS
$custom: #c7d04f;
$custom-light: #dbde86;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d04f",
  "rgb": {
    "r": 199,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 64.186,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82629,
    "c": 0.15095,
    "h": 113
  },
  "luminance": 0.57818
}

Semantic roles & 50–950 ramp

primary
#C7D04F
secondary
#403A89
accent
#47E151
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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