#C8D378#C8D378

#C8D378 is a very light, moderate yellow. Relative luminance 0.602; OKLCH L 83.8% C 0.116 H 114.6°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#C8D378
RGBrgb(200, 211, 120)
HSLhsl(67, 51%, 65%)
HSVhsv(67, 43%, 83%)
CMYKcmyk(5.2%, 0%, 43.1%, 17.3%)
CIE-LABlab(81.96, -17.26, 43.67)
CIE-LCHlch(81.96, 46.96, 111.57°)
OKLaboklab(83.85% -0.0482 0.1054)
OKLCHoklch(83.85% 0.116 114.6)
XYZxyz(50.5044, 60.2246, 26.7296)
Luminance0.6022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D378 #8378D3
analogous
#D3B178 #C8D378 #9AD378
triadic
#C8D378 #78C8D3 #D378C8
tetradic
#C8D378 #78D3B1 #8378D3 #D3789A
square
#C8D378 #78D3B1 #8378D3 #D3789A
split-complementary
#C8D378 #789AD3 #B178D3
monochromatic
#919D33 #B5C44A #C8D378 #DBE2A6 #EEF1D4

Accessibility & contrast

On white

1.61
#C8D378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#C8D378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D378
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D378#FFFFFF#000000##000000
##C8D3781.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB71
Deuteranopia (green-blind)
#DECD7C
Tritanopia (blue-blind)
#D2CABD
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c8d378;
/* rgb */ color: rgb(200, 211, 120);
/* oklch */ color: oklch(83.8% 0.116 114.6);
Tailwind
colors: {
  custom: {
    50: '#dae0a0',
    500: '#c8d378',
    950: '#000000',
  },
}
SCSS
$custom: #c8d378;
$custom-light: #dae0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d378",
  "rgb": {
    "r": 200,
    "g": 211,
    "b": 120
  },
  "hsl": {
    "h": 67.253,
    "s": 50.838,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83845,
    "c": 0.11592,
    "h": 114.6
  },
  "luminance": 0.60224
}

Semantic roles & 50–950 ramp

primary
#C8D378
secondary
#574DA2
accent
#27BE3A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #C8D378

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

Preview Lab → · Contrast checker → · Palette generator →

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