#C4DB40#C4DB40

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

Color values

HEX#C4DB40
RGBrgb(196, 219, 64)
HSLhsl(69, 68%, 55%)
HSVhsv(69, 71%, 86%)
CMYKcmyk(10.5%, 0%, 70.8%, 14.1%)
CIE-LABlab(83.32, -27.13, 69.39)
CIE-LCHlch(83.32, 74.50, 111.35°)
OKLaboklab(84.69% -0.081 0.1545)
OKLCHoklch(84.69% 0.174 117.7)
XYZxyz(49.0230, 62.7695, 14.3827)
Luminance0.6277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4DB40 #5740DB
analogous
#DBA440 #C4DB40 #76DB40
triadic
#C4DB40 #40C4DB #DB40C4
tetradic
#C4DB40 #40DBA4 #5740DB #DB4076
square
#C4DB40 #40DBA4 #5740DB #DB4076
split-complementary
#C4DB40 #4076DB #A440DB
monochromatic
#778719 #A4BB23 #C4DB40 #D4E573 #E4EEA7

Accessibility & contrast

On white

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

On black

13.55
#C4DB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4DB40
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4DB40#FFFFFF#000000##000000
##C4DB401.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4db40;
/* rgb */ color: rgb(196, 219, 64);
/* oklch */ color: oklch(84.7% 0.174 117.7);
Tailwind
colors: {
  custom: {
    50: '#d9e67f',
    500: '#c4db40',
    950: '#000000',
  },
}
SCSS
$custom: #c4db40;
$custom-light: #d9e67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4db40",
  "rgb": {
    "r": 196,
    "g": 219,
    "b": 64
  },
  "hsl": {
    "h": 68.903,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84693,
    "c": 0.17443,
    "h": 117.7
  },
  "luminance": 0.62769
}

Semantic roles & 50–950 ramp

primary
#C4DB40
secondary
#3F328D
accent
#3DEB57
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C4DB40

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

Preview Lab → · Contrast checker → · Palette generator →

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