#C7D474#C7D474

#C7D474 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 83.9% C 0.122 H 115.4°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#C7D474
RGBrgb(199, 212, 116)
HSLhsl(68, 53%, 64%)
HSVhsv(68, 45%, 83%)
CMYKcmyk(6.1%, 0%, 45.3%, 16.9%)
CIE-LABlab(82.10, -18.56, 45.79)
CIE-LCHlch(82.10, 49.41, 112.07°)
OKLaboklab(83.93% -0.0522 0.1099)
OKLCHoklch(83.93% 0.122 115.4)
XYZxyz(50.2496, 60.4906, 25.5483)
Luminance0.6049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D474 #8174D4
analogous
#D4B174 #C7D474 #97D474
triadic
#C7D474 #74C7D4 #D474C7
tetradic
#C7D474 #74D4B1 #8174D4 #D47497
square
#C7D474 #74D4B1 #8174D4 #D47497
split-complementary
#C7D474 #7497D4 #B174D4
monochromatic
#8E9D31 #B4C645 #C7D474 #DAE2A3 #EDF1D1

Accessibility & contrast

On white

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

On black

13.10
#C7D474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D474
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D474#FFFFFF#000000##000000
##C7D4741.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7d474;
/* rgb */ color: rgb(199, 212, 116);
/* oklch */ color: oklch(83.9% 0.122 115.4);
Tailwind
colors: {
  custom: {
    50: '#d9e19e',
    500: '#c7d474',
    950: '#000000',
  },
}
SCSS
$custom: #c7d474;
$custom-light: #d9e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d474",
  "rgb": {
    "r": 199,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 68.125,
    "s": 52.747,
    "l": 64.314
  },
  "oklch": {
    "l": 0.83925,
    "c": 0.12167,
    "h": 115.4
  },
  "luminance": 0.6049
}

Semantic roles & 50–950 ramp

primary
#C7D474
secondary
#564AA2
accent
#25C03A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D474

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

Preview Lab → · Contrast checker → · Palette generator →

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