#C8D671#C8D671

#C8D671 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.4% C 0.127 H 115.7°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#C8D671
RGBrgb(200, 214, 113)
HSLhsl(68, 55%, 64%)
HSVhsv(68, 47%, 84%)
CMYKcmyk(6.5%, 0%, 47.2%, 16.1%)
CIE-LABlab(82.68, -19.46, 47.96)
CIE-LCHlch(82.68, 51.76, 112.08°)
OKLaboklab(84.39% -0.0551 0.1145)
OKLCHoklch(84.39% 0.127 115.7)
XYZxyz(50.8472, 61.5653, 24.8243)
Luminance0.6157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D671 #7F71D6
analogous
#D6B271 #C8D671 #96D671
triadic
#C8D671 #71C8D6 #D671C8
tetradic
#C8D671 #71D6B2 #7F71D6 #D67196
square
#C8D671 #71D6B2 #7F71D6 #D67196
split-complementary
#C8D671 #7196D6 #B271D6
monochromatic
#8F9F2E #B6C842 #C8D671 #DAE4A0 #EDF1D0

Accessibility & contrast

On white

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

On black

13.31
#C8D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D671
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D671#FFFFFF#000000##000000
##C8D6711.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d671;
/* rgb */ color: rgb(200, 214, 113);
/* oklch */ color: oklch(84.4% 0.127 115.7);
Tailwind
colors: {
  custom: {
    50: '#dae29c',
    500: '#c8d671',
    950: '#000000',
  },
}
SCSS
$custom: #c8d671;
$custom-light: #dae29c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d671",
  "rgb": {
    "r": 200,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 68.317,
    "s": 55.191,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84393,
    "c": 0.12703,
    "h": 115.7
  },
  "luminance": 0.61565
}

Semantic roles & 50–950 ramp

primary
#C8D671
secondary
#5548A3
accent
#23C339
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D671

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

Preview Lab → · Contrast checker → · Palette generator →

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