#C7DB42#C7DB42

#C7DB42 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 84.9% C 0.172 H 116.7°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#C7DB42
RGBrgb(199, 219, 66)
HSLhsl(68, 68%, 56%)
HSVhsv(68, 70%, 86%)
CMYKcmyk(9.1%, 0%, 69.9%, 14.1%)
CIE-LABlab(83.55, -25.81, 68.97)
CIE-LCHlch(83.55, 73.64, 110.51°)
OKLaboklab(84.93% -0.0774 0.1538)
OKLCHoklch(84.93% 0.172 116.7)
XYZxyz(49.8693, 63.1991, 14.7248)
Luminance0.6320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DB42 #5642DB
analogous
#DBA242 #C7DB42 #7ADB42
triadic
#C7DB42 #42C7DB #DB42C7
tetradic
#C7DB42 #42DBA2 #5642DB #DB427A
square
#C7DB42 #42DBA2 #5642DB #DB427A
split-complementary
#C7DB42 #427ADB #A242DB
monochromatic
#7A891A #A8BC24 #C7DB42 #D6E575 #E5EFA9

Accessibility & contrast

On white

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

On black

13.64
#C7DB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DB42
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DB42#FFFFFF#000000##000000
##C7DB421.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7db42;
/* rgb */ color: rgb(199, 219, 66);
/* oklch */ color: oklch(84.9% 0.172 116.7);
Tailwind
colors: {
  custom: {
    50: '#dbe680',
    500: '#c7db42',
    950: '#000000',
  },
}
SCSS
$custom: #c7db42;
$custom-light: #dbe680;
$custom-dark: #000000;
JSON
{
  "hex": "#c7db42",
  "rgb": {
    "r": 199,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 67.843,
    "s": 68,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84932,
    "c": 0.1722,
    "h": 116.7
  },
  "luminance": 0.63198
}

Semantic roles & 50–950 ramp

primary
#C7DB42
secondary
#3F338F
accent
#3DEB54
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7DB42

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

Preview Lab → · Contrast checker → · Palette generator →

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