#C8D472#C8D472

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

Color values

HEX#C8D472
RGBrgb(200, 212, 114)
HSLhsl(67, 53%, 64%)
HSVhsv(67, 46%, 83%)
CMYKcmyk(5.7%, 0%, 46.2%, 16.9%)
CIE-LABlab(82.15, -18.37, 46.84)
CIE-LCHlch(82.15, 50.31, 111.42°)
OKLaboklab(83.97% -0.0519 0.1121)
OKLCHoklch(83.97% 0.124 114.8)
XYZxyz(50.4008, 60.5819, 24.9547)
Luminance0.6058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D472 #7E72D4
analogous
#D4AF72 #C8D472 #97D472
triadic
#C8D472 #72C8D4 #D472C8
tetradic
#C8D472 #72D4AF #7E72D4 #D47297
square
#C8D472 #72D4AF #7E72D4 #D47297
split-complementary
#C8D472 #7297D4 #AF72D4
monochromatic
#8F9C30 #B6C643 #C8D472 #DAE2A1 #EDF1D0

Accessibility & contrast

On white

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

On black

13.12
#C8D472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D472
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D472#FFFFFF#000000##000000
##C8D4721.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8d472;
/* rgb */ color: rgb(200, 212, 114);
/* oklch */ color: oklch(84.0% 0.123 114.8);
Tailwind
colors: {
  custom: {
    50: '#dae19c',
    500: '#c8d472',
    950: '#000000',
  },
}
SCSS
$custom: #c8d472;
$custom-light: #dae19c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d472",
  "rgb": {
    "r": 200,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 67.347,
    "s": 53.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.83974,
    "c": 0.1235,
    "h": 114.8
  },
  "luminance": 0.60581
}

Semantic roles & 50–950 ramp

primary
#C8D472
secondary
#5449A1
accent
#25C138
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D472

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

Preview Lab → · Contrast checker → · Palette generator →

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