#C8D474#C8D474

#C8D474 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.0% C 0.121 H 114.9°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#C8D474
RGBrgb(200, 212, 116)
HSLhsl(68, 53%, 64%)
HSVhsv(68, 45%, 83%)
CMYKcmyk(5.7%, 0%, 45.3%, 16.9%)
CIE-LABlab(82.18, -18.17, 45.90)
CIE-LCHlch(82.18, 49.36, 111.60°)
OKLaboklab(84% -0.0511 0.1101)
OKLCHoklch(84% 0.121 114.9)
XYZxyz(50.5159, 60.6279, 25.5608)
Luminance0.6063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D474 #8074D4
analogous
#D4B074 #C8D474 #98D474
triadic
#C8D474 #74C8D4 #D474C8
tetradic
#C8D474 #74D4B0 #8074D4 #D47498
square
#C8D474 #74D4B0 #8074D4 #D47498
split-complementary
#C8D474 #7498D4 #B074D4
monochromatic
#8F9D31 #B6C645 #C8D474 #DAE2A3 #EDF1D1

Accessibility & contrast

On white

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

On black

13.13
#C8D474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D474
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D474#FFFFFF#000000##000000
##C8D4741.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d474;
/* rgb */ color: rgb(200, 212, 116);
/* oklch */ color: oklch(84.0% 0.121 114.9);
Tailwind
colors: {
  custom: {
    50: '#dae19e',
    500: '#c8d474',
    950: '#000000',
  },
}
SCSS
$custom: #c8d474;
$custom-light: #dae19e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d474",
  "rgb": {
    "r": 200,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 67.5,
    "s": 52.747,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84002,
    "c": 0.12142,
    "h": 114.9
  },
  "luminance": 0.60627
}

Semantic roles & 50–950 ramp

primary
#C8D474
secondary
#554AA2
accent
#25C039
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D474

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

Preview Lab → · Contrast checker → · Palette generator →

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