#C7D774#C7D774

#C7D774 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.6% C 0.125 H 116.7°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#C7D774
RGBrgb(199, 215, 116)
HSLhsl(70, 55%, 65%)
HSVhsv(70, 46%, 84%)
CMYKcmyk(7.4%, 0%, 46%, 15.7%)
CIE-LABlab(82.92, -20.04, 46.78)
CIE-LCHlch(82.92, 50.90, 113.19°)
OKLaboklab(84.57% -0.0564 0.1121)
OKLCHoklch(84.57% 0.125 116.7)
XYZxyz(51.0065, 62.0044, 25.8006)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D774 #8474D7
analogous
#D7B674 #C7D774 #96D774
triadic
#C7D774 #74C7D7 #D774C7
tetradic
#C7D774 #74D7B6 #8474D7 #D77496
square
#C7D774 #74D7B6 #8474D7 #D77496
split-complementary
#C7D774 #7496D7 #B674D7
monochromatic
#8FA22F #B4C944 #C7D774 #DAE5A4 #EDF2D3

Accessibility & contrast

On white

1.57
#C7D774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#C7D774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D774
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D774#FFFFFF#000000##000000
##C7D7741.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6C
Deuteranopia (green-blind)
#E1CF79
Tritanopia (blue-blind)
#D0CDC0
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d774;
/* rgb */ color: rgb(199, 215, 116);
/* oklch */ color: oklch(84.6% 0.125 116.7);
Tailwind
colors: {
  custom: {
    50: '#d9e39e',
    500: '#c7d774',
    950: '#000000',
  },
}
SCSS
$custom: #c7d774;
$custom-light: #d9e39e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d774",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 116
  },
  "hsl": {
    "h": 69.697,
    "s": 55.307,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84573,
    "c": 0.12549,
    "h": 116.7
  },
  "luminance": 0.62004
}

Semantic roles & 50–950 ramp

primary
#C7D774
secondary
#5849A6
accent
#23C33D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D774

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

Preview Lab → · Contrast checker → · Palette generator →

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