#C7D247#C7D247

#C7D247 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.0% C 0.159 H 113.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#C7D247
RGBrgb(199, 210, 71)
HSLhsl(65, 61%, 55%)
HSVhsv(65, 66%, 82%)
CMYKcmyk(5.2%, 0%, 66.2%, 17.6%)
CIE-LABlab(81.12, -21.18, 64.68)
CIE-LCHlch(81.12, 68.06, 108.13°)
OKLaboklab(83% -0.064 0.1456)
OKLCHoklch(83% 0.159 113.7)
XYZxyz(47.7384, 58.6912, 14.7738)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D247 #5247D2
analogous
#D29747 #C7D247 #82D247
triadic
#C7D247 #47C7D2 #D247C7
tetradic
#C7D247 #47D297 #5247D2 #D24782
square
#C7D247 #47D297 #5247D2 #D24782
split-complementary
#C7D247 #4782D2 #9747D2
monochromatic
#787F1F #A6B12B #C7D247 #D6DE78 #E5EAA9

Accessibility & contrast

On white

1.65
#C7D247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#C7D247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D247
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D247#FFFFFF#000000##000000
##C7D2471.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C833
Deuteranopia (green-blind)
#E1CB51
Tritanopia (blue-blind)
#D4C6B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d247;
/* rgb */ color: rgb(199, 210, 71);
/* oklch */ color: oklch(83.0% 0.159 113.7);
Tailwind
colors: {
  custom: {
    50: '#dbdf82',
    500: '#c7d247',
    950: '#000000',
  },
}
SCSS
$custom: #c7d247;
$custom-light: #dbdf82;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d247",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 71
  },
  "hsl": {
    "h": 64.748,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82997,
    "c": 0.15902,
    "h": 113.7
  },
  "luminance": 0.5869
}

Semantic roles & 50–950 ramp

primary
#C7D247
secondary
#3D3687
accent
#44E451
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D247

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

Preview Lab → · Contrast checker → · Palette generator →

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