#C8D772#C8D772

#C8D772 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.6% C 0.127 H 116.1°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#C8D772
RGBrgb(200, 215, 114)
HSLhsl(69, 56%, 65%)
HSVhsv(69, 47%, 84%)
CMYKcmyk(7%, 0%, 47%, 15.7%)
CIE-LABlab(82.96, -19.85, 47.82)
CIE-LCHlch(82.96, 51.78, 112.54°)
OKLaboklab(84.62% -0.0561 0.1143)
OKLCHoklch(84.62% 0.127 116.1)
XYZxyz(51.1577, 62.0957, 25.2070)
Luminance0.6210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D772 #8172D7
analogous
#D7B472 #C8D772 #96D772
triadic
#C8D772 #72C8D7 #D772C8
tetradic
#C8D772 #72D7B4 #8172D7 #D77296
square
#C8D772 #72D7B4 #8172D7 #D77296
split-complementary
#C8D772 #7296D7 #B472D7
monochromatic
#90A12E #B5C942 #C8D772 #DBE5A2 #EDF2D1

Accessibility & contrast

On white

1.56
#C8D772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#C8D772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D772
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D772#FFFFFF#000000##000000
##C8D7721.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE69
Deuteranopia (green-blind)
#E2CF77
Tritanopia (blue-blind)
#D2CDBF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c8d772;
/* rgb */ color: rgb(200, 215, 114);
/* oklch */ color: oklch(84.6% 0.127 116.1);
Tailwind
colors: {
  custom: {
    50: '#dae39d',
    500: '#c8d772',
    950: '#000000',
  },
}
SCSS
$custom: #c8d772;
$custom-light: #dae39d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d772",
  "rgb": {
    "r": 200,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 68.911,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84622,
    "c": 0.12727,
    "h": 116.1
  },
  "luminance": 0.62095
}

Semantic roles & 50–950 ramp

primary
#C8D772
secondary
#5648A5
accent
#22C33A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C8D772

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

Preview Lab → · Contrast checker → · Palette generator →

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