#C8D540#C8D540

#C8D540 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.7% C 0.167 H 114.4°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#C8D540
RGBrgb(200, 213, 64)
HSLhsl(65, 64%, 54%)
HSVhsv(65, 70%, 84%)
CMYKcmyk(6.1%, 0%, 70%, 16.5%)
CIE-LABlab(81.97, -22.61, 68.16)
CIE-LCHlch(81.97, 71.81, 108.36°)
OKLaboklab(83.68% -0.0687 0.1518)
OKLCHoklch(83.68% 0.167 114.4)
XYZxyz(48.5404, 60.2389, 13.9197)
Luminance0.6024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D540 #4D40D5
analogous
#D59840 #C8D540 #7ED540
triadic
#C8D540 #40C8D5 #D540C8
tetradic
#C8D540 #40D598 #4D40D5 #D5407E
square
#C8D540 #40D598 #4D40D5 #D5407E
split-complementary
#C8D540 #407ED5 #9840D5
monochromatic
#767F1C #A5B127 #C8D540 #D6E072 #E5EBA4

Accessibility & contrast

On white

1.61
#C8D540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#C8D540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D540
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D540#FFFFFF#000000##000000
##C8D5401.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB26
Deuteranopia (green-blind)
#E4CD4C
Tritanopia (blue-blind)
#D5C9B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c8d540;
/* rgb */ color: rgb(200, 213, 64);
/* oklch */ color: oklch(83.7% 0.167 114.4);
Tailwind
colors: {
  custom: {
    50: '#dce17e',
    500: '#c8d540',
    950: '#000000',
  },
}
SCSS
$custom: #c8d540;
$custom-light: #dce17e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d540",
  "rgb": {
    "r": 200,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 65.235,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83679,
    "c": 0.1666,
    "h": 114.4
  },
  "luminance": 0.60238
}

Semantic roles & 50–950 ramp

primary
#C8D540
secondary
#3A3386
accent
#41E74F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8D540

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

Preview Lab → · Contrast checker → · Palette generator →

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