#C4DB42#C4DB42

#C4DB42 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 84.7% C 0.173 H 117.7°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#C4DB42
RGBrgb(196, 219, 66)
HSLhsl(69, 68%, 56%)
HSVhsv(69, 70%, 86%)
CMYKcmyk(10.5%, 0%, 69.9%, 14.1%)
CIE-LABlab(83.33, -27.02, 68.69)
CIE-LCHlch(83.33, 73.82, 111.47°)
OKLaboklab(84.71% -0.0806 0.1533)
OKLCHoklch(84.71% 0.173 117.7)
XYZxyz(49.0809, 62.7926, 14.6878)
Luminance0.6279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4DB42 #5942DB
analogous
#DBA642 #C4DB42 #77DB42
triadic
#C4DB42 #42C4DB #DB42C4
tetradic
#C4DB42 #42DBA6 #5942DB #DB4277
square
#C4DB42 #42DBA6 #5942DB #DB4277
split-complementary
#C4DB42 #4277DB #A642DB
monochromatic
#78891A #A5BC24 #C4DB42 #D4E575 #E4EFA9

Accessibility & contrast

On white

1.55
#C4DB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#C4DB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4DB42
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4DB42#FFFFFF#000000##000000
##C4DB421.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF28
Deuteranopia (green-blind)
#E7D04E
Tritanopia (blue-blind)
#D0CFBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c4db42;
/* rgb */ color: rgb(196, 219, 66);
/* oklch */ color: oklch(84.7% 0.173 117.7);
Tailwind
colors: {
  custom: {
    50: '#d9e680',
    500: '#c4db42',
    950: '#000000',
  },
}
SCSS
$custom: #c4db42;
$custom-light: #d9e680;
$custom-dark: #000000;
JSON
{
  "hex": "#c4db42",
  "rgb": {
    "r": 196,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 69.02,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84706,
    "c": 0.17321,
    "h": 117.7
  },
  "luminance": 0.62792
}

Semantic roles & 50–950 ramp

primary
#C4DB42
secondary
#40338F
accent
#3DEB57
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C4DB42

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

Preview Lab → · Contrast checker → · Palette generator →

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