#C7D372#C7D372

#C7D372 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.7% C 0.122 H 114.9°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#C7D372
RGBrgb(199, 211, 114)
HSLhsl(67, 52%, 64%)
HSVhsv(67, 46%, 83%)
CMYKcmyk(5.7%, 0%, 46%, 17.3%)
CIE-LABlab(81.81, -18.27, 46.40)
CIE-LCHlch(81.81, 49.87, 111.49°)
OKLaboklab(83.68% -0.0515 0.1111)
OKLCHoklch(83.68% 0.122 114.9)
XYZxyz(49.8853, 59.9462, 24.8592)
Luminance0.5995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D372 #7E72D3
analogous
#D3AE72 #C7D372 #96D372
triadic
#C7D372 #72C7D3 #D372C7
tetradic
#C7D372 #72D3AE #7E72D3 #D37296
square
#C7D372 #72D3AE #7E72D3 #D37296
split-complementary
#C7D372 #7296D3 #AE72D3
monochromatic
#8D9A30 #B4C443 #C7D372 #DAE2A1 #ECF0CF

Accessibility & contrast

On white

1.62
#C7D372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#C7D372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D372
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D372#FFFFFF#000000##000000
##C7D3721.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB6A
Deuteranopia (green-blind)
#DECC77
Tritanopia (blue-blind)
#D1C9BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c7d372;
/* rgb */ color: rgb(199, 211, 114);
/* oklch */ color: oklch(83.7% 0.122 114.9);
Tailwind
colors: {
  custom: {
    50: '#d9e09c',
    500: '#c7d372',
    950: '#000000',
  },
}
SCSS
$custom: #c7d372;
$custom-light: #d9e09c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d372",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 114
  },
  "hsl": {
    "h": 67.423,
    "s": 52.432,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83681,
    "c": 0.12249,
    "h": 114.9
  },
  "luminance": 0.59946
}

Semantic roles & 50–950 ramp

primary
#C7D372
secondary
#544A9F
accent
#26C039
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D372

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

Preview Lab → · Contrast checker → · Palette generator →

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