#C7D671#C7D671

#C7D671 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.3% C 0.127 H 116.2°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#C7D671
RGBrgb(199, 214, 113)
HSLhsl(69, 55%, 64%)
HSVhsv(69, 47%, 84%)
CMYKcmyk(7%, 0%, 47.2%, 16.1%)
CIE-LABlab(82.61, -19.85, 47.85)
CIE-LCHlch(82.61, 51.81, 112.53°)
OKLaboklab(84.32% -0.0561 0.1143)
OKLCHoklch(84.32% 0.127 116.2)
XYZxyz(50.5810, 61.4280, 24.8118)
Luminance0.6143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D671 #8071D6
analogous
#D6B371 #C7D671 #95D671
triadic
#C7D671 #71C7D6 #D671C7
tetradic
#C7D671 #71D6B3 #8071D6 #D67195
square
#C7D671 #71D6B3 #8071D6 #D67195
split-complementary
#C7D671 #7195D6 #B371D6
monochromatic
#8E9F2E #B4C842 #C7D671 #DAE4A0 #ECF1D0

Accessibility & contrast

On white

1.58
#C7D671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#C7D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D671
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D671#FFFFFF#000000##000000
##C7D6711.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD68
Deuteranopia (green-blind)
#E1CE76
Tritanopia (blue-blind)
#D1CCBE
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d671;
/* rgb */ color: rgb(199, 214, 113);
/* oklch */ color: oklch(84.3% 0.127 116.2);
Tailwind
colors: {
  custom: {
    50: '#dae29c',
    500: '#c7d671',
    950: '#000000',
  },
}
SCSS
$custom: #c7d671;
$custom-light: #dae29c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d671",
  "rgb": {
    "r": 199,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 68.911,
    "s": 55.191,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84316,
    "c": 0.1273,
    "h": 116.2
  },
  "luminance": 0.61428
}

Semantic roles & 50–950 ramp

primary
#C7D671
secondary
#5648A3
accent
#23C33B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D671

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

Preview Lab → · Contrast checker → · Palette generator →

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