#C8D957#C8D957

#C8D957 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.7% C 0.155 H 116.1°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#C8D957
RGBrgb(200, 217, 87)
HSLhsl(68, 63%, 60%)
HSVhsv(68, 60%, 85%)
CMYKcmyk(7.8%, 0%, 59.9%, 14.9%)
CIE-LABlab(83.23, -23.13, 60.42)
CIE-LCHlch(83.23, 64.70, 110.95°)
OKLaboklab(84.74% -0.0679 0.1388)
OKLCHoklch(84.74% 0.155 116.1)
XYZxyz(50.3536, 62.5938, 18.4442)
Luminance0.6259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D957 #6857D9
analogous
#D9A957 #C8D957 #87D957
triadic
#C8D957 #57C8D9 #D957C8
tetradic
#C8D957 #57D9A9 #6857D9 #D95787
square
#C8D957 #57D9A9 #6857D9 #D95787
split-complementary
#C8D957 #5787D9 #A957D9
monochromatic
#859421 #B2C62D #C8D957 #D8E489 #E9F0BB

Accessibility & contrast

On white

1.55
#C8D957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#C8D957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D957
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D957#FFFFFF#000000##000000
##C8D9571.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF48
Deuteranopia (green-blind)
#E6D05F
Tritanopia (blue-blind)
#D3CEBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c8d957;
/* rgb */ color: rgb(200, 217, 87);
/* oklch */ color: oklch(84.7% 0.155 116.1);
Tailwind
colors: {
  custom: {
    50: '#dbe48b',
    500: '#c8d957',
    950: '#000000',
  },
}
SCSS
$custom: #c8d957;
$custom-light: #dbe48b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d957",
  "rgb": {
    "r": 200,
    "g": 217,
    "b": 87
  },
  "hsl": {
    "h": 67.846,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84744,
    "c": 0.15454,
    "h": 116.1
  },
  "luminance": 0.62593
}

Semantic roles & 50–950 ramp

primary
#C8D957
secondary
#473B99
accent
#42E657
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C8D957

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

Preview Lab → · Contrast checker → · Palette generator →

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