#C7D471#C7D471

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

Color values

HEX#C7D471
RGBrgb(199, 212, 113)
HSLhsl(68, 54%, 64%)
HSVhsv(68, 47%, 83%)
CMYKcmyk(6.1%, 0%, 46.7%, 16.9%)
CIE-LABlab(82.07, -18.87, 47.20)
CIE-LCHlch(82.07, 50.83, 111.79°)
OKLaboklab(83.88% -0.0533 0.1128)
OKLCHoklch(83.88% 0.125 115.3)
XYZxyz(50.0779, 60.4219, 24.6441)
Luminance0.6042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D471 #7E71D4
analogous
#D4AF71 #C7D471 #95D471
triadic
#C7D471 #71C7D4 #D471C7
tetradic
#C7D471 #71D4AF #7E71D4 #D47195
square
#C7D471 #71D4AF #7E71D4 #D47195
split-complementary
#C7D471 #7195D4 #AF71D4
monochromatic
#8D9C2F #B4C642 #C7D471 #DAE2A0 #ECF0CF

Accessibility & contrast

On white

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

On black

13.08
#C7D471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D471
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D471#FFFFFF#000000##000000
##C7D4711.001.6013.0813.08
#FFFFFF1.601.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7d471;
/* rgb */ color: rgb(199, 212, 113);
/* oklch */ color: oklch(83.9% 0.125 115.3);
Tailwind
colors: {
  custom: {
    50: '#dae19c',
    500: '#c7d471',
    950: '#000000',
  },
}
SCSS
$custom: #c7d471;
$custom-light: #dae19c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d471",
  "rgb": {
    "r": 199,
    "g": 212,
    "b": 113
  },
  "hsl": {
    "h": 67.879,
    "s": 53.514,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83883,
    "c": 0.12478,
    "h": 115.3
  },
  "luminance": 0.60421
}

Semantic roles & 50–950 ramp

primary
#C7D471
secondary
#5449A0
accent
#25C139
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D471

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

Preview Lab → · Contrast checker → · Palette generator →

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