#C7D472#C7D472

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

Color values

HEX#C7D472
RGBrgb(199, 212, 114)
HSLhsl(68, 53%, 64%)
HSVhsv(68, 46%, 83%)
CMYKcmyk(6.1%, 0%, 46.2%, 16.9%)
CIE-LABlab(82.08, -18.77, 46.73)
CIE-LCHlch(82.08, 50.36, 111.88°)
OKLaboklab(83.9% -0.0529 0.1118)
OKLCHoklch(83.9% 0.124 115.3)
XYZxyz(50.1345, 60.4446, 24.9422)
Luminance0.6044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D472 #7F72D4
analogous
#D4B072 #C7D472 #96D472
triadic
#C7D472 #72C7D4 #D472C7
tetradic
#C7D472 #72D4B0 #7F72D4 #D47296
square
#C7D472 #72D4B0 #7F72D4 #D47296
split-complementary
#C7D472 #7296D4 #B072D4
monochromatic
#8E9C30 #B4C643 #C7D472 #DAE2A1 #ECF1D0

Accessibility & contrast

On white

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

On black

13.09
#C7D472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D472
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D472#FFFFFF#000000##000000
##C7D4721.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB6A
Deuteranopia (green-blind)
#DFCD77
Tritanopia (blue-blind)
#D1CABD
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c7d472;
/* rgb */ color: rgb(199, 212, 114);
/* oklch */ color: oklch(83.9% 0.124 115.3);
Tailwind
colors: {
  custom: {
    50: '#d9e19c',
    500: '#c7d472',
    950: '#000000',
  },
}
SCSS
$custom: #c7d472;
$custom-light: #d9e19c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d472",
  "rgb": {
    "r": 199,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 67.959,
    "s": 53.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83897,
    "c": 0.12374,
    "h": 115.3
  },
  "luminance": 0.60444
}

Semantic roles & 50–950 ramp

primary
#C7D472
secondary
#5549A1
accent
#25C139
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D472

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

Preview Lab → · Contrast checker → · Palette generator →

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