#C8DF40#C8DF40

#C8DF40 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 85.9% C 0.177 H 117.5°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#C8DF40
RGBrgb(200, 223, 64)
HSLhsl(69, 71%, 56%)
HSVhsv(69, 71%, 87%)
CMYKcmyk(10.3%, 0%, 71.3%, 12.5%)
CIE-LABlab(84.70, -27.41, 70.83)
CIE-LCHlch(84.70, 75.95, 111.15°)
OKLaboklab(85.87% -0.082 0.1574)
OKLCHoklch(85.87% 0.177 117.5)
XYZxyz(51.1337, 65.4254, 14.7841)
Luminance0.6542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8DF40 #5740DF
analogous
#DFA740 #C8DF40 #79DF40
triadic
#C8DF40 #40C8DF #DF40C8
tetradic
#C8DF40 #40DFA7 #5740DF #DF4079
square
#C8DF40 #40DFA7 #5740DF #DF4079
split-complementary
#C8DF40 #4079DF #A740DF
monochromatic
#7C8D18 #AAC120 #C8DF40 #D7E874 #E6F1A9

Accessibility & contrast

On white

1.49
#C8DF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#C8DF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8DF40
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8DF40#FFFFFF#000000##000000
##C8DF401.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED322
Deuteranopia (green-blind)
#ECD44D
Tritanopia (blue-blind)
#D4D3C0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c8df40;
/* rgb */ color: rgb(200, 223, 64);
/* oklch */ color: oklch(85.9% 0.177 117.5);
Tailwind
colors: {
  custom: {
    50: '#dce87f',
    500: '#c8df40',
    950: '#000000',
  },
}
SCSS
$custom: #c8df40;
$custom-light: #dce87f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8df40",
  "rgb": {
    "r": 200,
    "g": 223,
    "b": 64
  },
  "hsl": {
    "h": 68.679,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85874,
    "c": 0.17748,
    "h": 117.5
  },
  "luminance": 0.65425
}

Semantic roles & 50–950 ramp

primary
#C8DF40
secondary
#3F3192
accent
#3AEE54
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C8DF40

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

Preview Lab → · Contrast checker → · Palette generator →

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