#C8D257#C8D257

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

Color values

HEX#C8D257
RGBrgb(200, 210, 87)
HSLhsl(65, 58%, 58%)
HSVhsv(65, 59%, 82%)
CMYKcmyk(4.8%, 0%, 58.6%, 17.6%)
CIE-LABlab(81.33, -19.72, 58.33)
CIE-LCHlch(81.33, 61.57, 108.68°)
OKLaboklab(83.22% -0.0583 0.1344)
OKLCHoklch(83.22% 0.146 113.5)
XYZxyz(48.5874, 59.0616, 17.8555)
Luminance0.5906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D257 #6157D2
analogous
#D29E57 #C8D257 #8AD257
triadic
#C8D257 #57C8D2 #D257C8
tetradic
#C8D257 #57D29E #6157D2 #D2578A
square
#C8D257 #57D29E #6157D2 #D2578A
split-complementary
#C8D257 #578AD2 #9E57D2
monochromatic
#828A25 #AFBA32 #C8D257 #D8DF87 #E8ECB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8D257#FFFFFF#000000##000000
##C8D2571.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)
#E0C949
Deuteranopia (green-blind)
#E0CB5F
Tritanopia (blue-blind)
#D4C7B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d257;
/* rgb */ color: rgb(200, 210, 87);
/* oklch */ color: oklch(83.2% 0.146 113.5);
Tailwind
colors: {
  custom: {
    50: '#dbdf8b',
    500: '#c8d257',
    950: '#000000',
  },
}
SCSS
$custom: #c8d257;
$custom-light: #dbdf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d257",
  "rgb": {
    "r": 200,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 64.878,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8322,
    "c": 0.14648,
    "h": 113.5
  },
  "luminance": 0.59061
}

Semantic roles & 50–950 ramp

primary
#C8D257
secondary
#443D90
accent
#47E153
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D257

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

Preview Lab → · Contrast checker → · Palette generator →

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