#C8D340#C8D340

#C8D340 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.2% C 0.164 H 113.7°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#C8D340
RGBrgb(200, 211, 64)
HSLhsl(64, 63%, 54%)
HSVhsv(64, 70%, 83%)
CMYKcmyk(5.2%, 0%, 69.7%, 17.3%)
CIE-LABlab(81.42, -21.64, 67.62)
CIE-LCHlch(81.42, 71.00, 107.75°)
OKLaboklab(83.24% -0.066 0.1506)
OKLCHoklch(83.24% 0.164 113.7)
XYZxyz(48.0405, 59.2390, 13.7531)
Luminance0.5924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8D340 #4B40D3
analogous
#D39540 #C8D340 #7FD340
triadic
#C8D340 #40C8D3 #D340C8
tetradic
#C8D340 #40D395 #4B40D3 #D3407F
square
#C8D340 #40D395 #4B40D3 #D3407F
split-complementary
#C8D340 #407FD3 #9540D3
monochromatic
#757C1D #A4AE28 #C8D340 #D6DE72 #E5EAA3

Accessibility & contrast

On white

1.63
#C8D340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#C8D340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8D340
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8D340#FFFFFF#000000##000000
##C8D3401.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C927
Deuteranopia (green-blind)
#E2CC4B
Tritanopia (blue-blind)
#D5C7B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c8d340;
/* rgb */ color: rgb(200, 211, 64);
/* oklch */ color: oklch(83.2% 0.164 113.7);
Tailwind
colors: {
  custom: {
    50: '#dce07e',
    500: '#c8d340',
    950: '#000000',
  },
}
SCSS
$custom: #c8d340;
$custom-light: #dce07e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8d340",
  "rgb": {
    "r": 200,
    "g": 211,
    "b": 64
  },
  "hsl": {
    "h": 64.49,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83242,
    "c": 0.16447,
    "h": 113.7
  },
  "luminance": 0.59238
}

Semantic roles & 50–950 ramp

primary
#C8D340
secondary
#393384
accent
#42E64E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8D340

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

Preview Lab → · Contrast checker → · Palette generator →

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