#C8D255#C8D255

#C8D255 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.2% C 0.148 H 113.4°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#C8D255
RGBrgb(200, 210, 85)
HSLhsl(65, 58%, 58%)
HSVhsv(65, 60%, 82%)
CMYKcmyk(4.8%, 0%, 59.5%, 17.6%)
CIE-LABlab(81.31, -19.86, 59.17)
CIE-LCHlch(81.31, 62.42, 108.55°)
OKLaboklab(83.2% -0.0589 0.1359)
OKLCHoklch(83.2% 0.148 113.4)
XYZxyz(48.5069, 59.0293, 17.4311)
Luminance0.5903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D255 #5F55D2
analogous
#D29D55 #C8D255 #89D255
triadic
#C8D255 #55C8D2 #D255C8
tetradic
#C8D255 #55D29D #5F55D2 #D25589
square
#C8D255 #55D29D #5F55D2 #D25589
split-complementary
#C8D255 #5589D2 #9D55D2
monochromatic
#808824 #AEB931 #C8D255 #D8DF85 #E7ECB6

Accessibility & contrast

On white

1.64
#C8D255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#C8D255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D255
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D255#FFFFFF#000000##000000
##C8D2551.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C947
Deuteranopia (green-blind)
#E0CB5D
Tritanopia (blue-blind)
#D4C7B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d255;
/* rgb */ color: rgb(200, 210, 85);
/* oklch */ color: oklch(83.2% 0.148 113.4);
Tailwind
colors: {
  custom: {
    50: '#dbdf8a',
    500: '#c8d255',
    950: '#000000',
  },
}
SCSS
$custom: #c8d255;
$custom-light: #dbdf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d255",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 85
  },
  "hsl": {
    "h": 64.8,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.832,
    "c": 0.14814,
    "h": 113.4
  },
  "luminance": 0.59028
}

Semantic roles & 50–950 ramp

primary
#C8D255
secondary
#433C8F
accent
#46E153
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D255

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

Preview Lab → · Contrast checker → · Palette generator →

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