#C8DF51#C8DF51

#C8DF51 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.0% C 0.166 H 117.9°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#C8DF51
RGBrgb(200, 223, 81)
HSLhsl(70, 69%, 60%)
HSVhsv(70, 64%, 87%)
CMYKcmyk(10.3%, 0%, 63.7%, 12.5%)
CIE-LABlab(84.82, -26.42, 64.61)
CIE-LCHlch(84.82, 69.80, 112.24°)
OKLaboklab(86% -0.0777 0.1469)
OKLCHoklch(86% 0.166 117.9)
XYZxyz(51.6933, 65.6493, 17.7313)
Luminance0.6565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8DF51 #6851DF
analogous
#DFAF51 #C8DF51 #81DF51
triadic
#C8DF51 #51C8DF #DF51C8
tetradic
#C8DF51 #51DFAF #6851DF #DF5181
square
#C8DF51 #51DFAF #6851DF #DF5181
split-complementary
#C8DF51 #5181DF #AF51DF
monochromatic
#85991C #B2CD26 #C8DF51 #D8E985 #E9F2B8

Accessibility & contrast

On white

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

On black

14.13
#C8DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8DF51
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8DF51#FFFFFF#000000##000000
##C8DF511.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33E
Deuteranopia (green-blind)
#EBD55B
Tritanopia (blue-blind)
#D3D3C2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #c8df51;
/* rgb */ color: rgb(200, 223, 81);
/* oklch */ color: oklch(86.0% 0.166 117.9);
Tailwind
colors: {
  custom: {
    50: '#dce988',
    500: '#c8df51',
    950: '#000000',
  },
}
SCSS
$custom: #c8df51;
$custom-light: #dce988;
$custom-dark: #000000;
JSON
{
  "hex": "#c8df51",
  "rgb": {
    "r": 200,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 69.718,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86003,
    "c": 0.16616,
    "h": 117.9
  },
  "luminance": 0.65649
}

Semantic roles & 50–950 ramp

primary
#C8DF51
secondary
#47379D
accent
#3CEC58
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160C
muted
#84847F

Preview Lab

Preview with #C8DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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