#C7D374#C7D374

#C7D374 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.7% C 0.120 H 115.0°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#C7D374
RGBrgb(199, 211, 116)
HSLhsl(68, 52%, 64%)
HSVhsv(68, 45%, 83%)
CMYKcmyk(5.7%, 0%, 45%, 17.3%)
CIE-LABlab(81.83, -18.07, 45.46)
CIE-LCHlch(81.83, 48.92, 111.68°)
OKLaboklab(83.71% -0.0508 0.1092)
OKLCHoklch(83.71% 0.12 115)
XYZxyz(50.0004, 59.9922, 25.4653)
Luminance0.5999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D374 #8074D3
analogous
#D3B074 #C7D374 #98D374
triadic
#C7D374 #74C7D3 #D374C7
tetradic
#C7D374 #74D3B0 #8074D3 #D37498
square
#C7D374 #74D3B0 #8074D3 #D37498
split-complementary
#C7D374 #7498D3 #B074D3
monochromatic
#8E9B31 #B4C446 #C7D374 #DAE2A2 #ECF0D1

Accessibility & contrast

On white

1.62
#C7D374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#C7D374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D374
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D374#FFFFFF#000000##000000
##C7D3741.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB6C
Deuteranopia (green-blind)
#DECC79
Tritanopia (blue-blind)
#D1C9BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c7d374;
/* rgb */ color: rgb(199, 211, 116);
/* oklch */ color: oklch(83.7% 0.120 115.0);
Tailwind
colors: {
  custom: {
    50: '#d9e09e',
    500: '#c7d374',
    950: '#000000',
  },
}
SCSS
$custom: #c7d374;
$custom-light: #d9e09e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d374",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 116
  },
  "hsl": {
    "h": 67.579,
    "s": 51.913,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83709,
    "c": 0.1204,
    "h": 115
  },
  "luminance": 0.59992
}

Semantic roles & 50–950 ramp

primary
#C7D374
secondary
#564BA0
accent
#26BF3A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D374

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

Preview Lab → · Contrast checker → · Palette generator →

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