#C7D170#C7D170

#C7D170 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.2% C 0.122 H 113.9°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#C7D170
RGBrgb(199, 209, 112)
HSLhsl(66, 51%, 63%)
HSVhsv(66, 46%, 82%)
CMYKcmyk(4.8%, 0%, 46.4%, 18%)
CIE-LABlab(81.24, -17.48, 46.68)
CIE-LCHlch(81.24, 49.84, 110.53°)
OKLaboklab(83.22% -0.0495 0.1116)
OKLCHoklch(83.22% 0.122 113.9)
XYZxyz(49.2790, 58.9136, 24.1016)
Luminance0.5891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D170 #7A70D1
analogous
#D1AB70 #C7D170 #96D170
triadic
#C7D170 #70C7D1 #D170C7
tetradic
#C7D170 #70D1AB #7A70D1 #D17096
square
#C7D170 #70D1AB #7A70D1 #D17096
split-complementary
#C7D170 #7096D1 #AB70D1
monochromatic
#8C9630 #B5C242 #C7D170 #D9E09E #EBEFCD

Accessibility & contrast

On white

1.64
#C7D170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#C7D170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D170
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D170#FFFFFF#000000##000000
##C7D1701.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC968
Deuteranopia (green-blind)
#DDCB75
Tritanopia (blue-blind)
#D1C7BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d170;
/* rgb */ color: rgb(199, 209, 112);
/* oklch */ color: oklch(83.2% 0.122 113.9);
Tailwind
colors: {
  custom: {
    50: '#dadf9b',
    500: '#c7d170',
    950: '#000000',
  },
}
SCSS
$custom: #c7d170;
$custom-light: #dadf9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d170",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 112
  },
  "hsl": {
    "h": 66.186,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.83222,
    "c": 0.12206,
    "h": 113.9
  },
  "luminance": 0.58913
}

Semantic roles & 50–950 ramp

primary
#C7D170
secondary
#52499C
accent
#27BF36
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D170

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

Preview Lab → · Contrast checker → · Palette generator →

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