#C8DB42#C8DB42

#C8DB42 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.0% C 0.172 H 116.3°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#C8DB42
RGBrgb(200, 219, 66)
HSLhsl(67, 68%, 56%)
HSVhsv(67, 70%, 86%)
CMYKcmyk(8.7%, 0%, 69.9%, 14.1%)
CIE-LABlab(83.62, -25.40, 69.07)
CIE-LCHlch(83.62, 73.59, 110.19°)
OKLaboklab(85.01% -0.0763 0.154)
OKLCHoklch(85.01% 0.172 116.3)
XYZxyz(50.1355, 63.3364, 14.7372)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8DB42 #5542DB
analogous
#DBA142 #C8DB42 #7BDB42
triadic
#C8DB42 #42C8DB #DB42C8
tetradic
#C8DB42 #42DBA1 #5542DB #DB427B
square
#C8DB42 #42DBA1 #5542DB #DB427B
split-complementary
#C8DB42 #427BDB #A142DB
monochromatic
#7B891A #A9BC24 #C8DB42 #D7E575 #E6EFA9

Accessibility & contrast

On white

1.54
#C8DB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#C8DB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8DB42
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8DB42#FFFFFF#000000##000000
##C8DB421.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD028
Deuteranopia (green-blind)
#E8D14E
Tritanopia (blue-blind)
#D4CFBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c8db42;
/* rgb */ color: rgb(200, 219, 66);
/* oklch */ color: oklch(85.0% 0.172 116.3);
Tailwind
colors: {
  custom: {
    50: '#dce680',
    500: '#c8db42',
    950: '#000000',
  },
}
SCSS
$custom: #c8db42;
$custom-light: #dce680;
$custom-dark: #000000;
JSON
{
  "hex": "#c8db42",
  "rgb": {
    "r": 200,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 67.451,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85008,
    "c": 0.17187,
    "h": 116.3
  },
  "luminance": 0.63336
}

Semantic roles & 50–950 ramp

primary
#C8DB42
secondary
#3E338F
accent
#3DEB53
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C8DB42

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

Preview Lab → · Contrast checker → · Palette generator →

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