#C7D174#C7D174

#C7D174 is a very light, moderate yellow. Relative luminance 0.590; OKLCH L 83.3% C 0.118 H 114.0°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#C7D174
RGBrgb(199, 209, 116)
HSLhsl(66, 50%, 64%)
HSVhsv(66, 44%, 82%)
CMYKcmyk(4.8%, 0%, 44.5%, 18%)
CIE-LABlab(81.29, -17.08, 44.79)
CIE-LCHlch(81.29, 47.94, 110.87°)
OKLaboklab(83.28% -0.048 0.1077)
OKLCHoklch(83.28% 0.118 114)
XYZxyz(49.5066, 59.0047, 25.3007)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D174 #7E74D1
analogous
#D1AC74 #C7D174 #98D174
triadic
#C7D174 #74C7D1 #D174C7
tetradic
#C7D174 #74D1AC #7E74D1 #D17498
square
#C7D174 #74D1AC #7E74D1 #D17498
split-complementary
#C7D174 #7498D1 #AC74D1
monochromatic
#8D9832 #B4C246 #C7D174 #DAE0A2 #ECEFD0

Accessibility & contrast

On white

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

On black

12.80
#C7D174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D174
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D174#FFFFFF#000000##000000
##C7D1741.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC96C
Deuteranopia (green-blind)
#DCCB79
Tritanopia (blue-blind)
#D1C8BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d174;
/* rgb */ color: rgb(199, 209, 116);
/* oklch */ color: oklch(83.3% 0.118 114.0);
Tailwind
colors: {
  custom: {
    50: '#d9df9e',
    500: '#c7d174',
    950: '#000000',
  },
}
SCSS
$custom: #c7d174;
$custom-light: #d9df9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d174",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 116
  },
  "hsl": {
    "h": 66.452,
    "s": 50.27,
    "l": 63.725
  },
  "oklch": {
    "l": 0.83278,
    "c": 0.11789,
    "h": 114
  },
  "luminance": 0.59004
}

Semantic roles & 50–950 ramp

primary
#C7D174
secondary
#544C9E
accent
#28BE38
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D174

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

Preview Lab → · Contrast checker → · Palette generator →

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