#C7DB52#C7DB52

#C7DB52 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.1% C 0.161 H 117.0°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#C7DB52
RGBrgb(199, 219, 82)
HSLhsl(69, 66%, 59%)
HSVhsv(69, 63%, 86%)
CMYKcmyk(9.1%, 0%, 62.6%, 14.1%)
CIE-LABlab(83.66, -24.85, 62.95)
CIE-LCHlch(83.66, 67.68, 111.54°)
OKLaboklab(85.06% -0.0732 0.1435)
OKLCHoklch(85.06% 0.161 117)
XYZxyz(50.4087, 63.4149, 17.5658)
Luminance0.6341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DB52 #6652DB
analogous
#DBAB52 #C7DB52 #83DB52
triadic
#C7DB52 #52C7DB #DB52C7
tetradic
#C7DB52 #52DBAB #6652DB #DB5283
square
#C7DB52 #52DBAB #6652DB #DB5283
split-complementary
#C7DB52 #5283DB #AB52DB
monochromatic
#83941F #B0C629 #C7DB52 #D7E685 #E8F0B7

Accessibility & contrast

On white

1.53
#C7DB52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#C7DB52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DB52
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DB52#FFFFFF#000000##000000
##C7DB521.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D041
Deuteranopia (green-blind)
#E7D15B
Tritanopia (blue-blind)
#D2CFBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c7db52;
/* rgb */ color: rgb(199, 219, 82);
/* oklch */ color: oklch(85.1% 0.161 117.0);
Tailwind
colors: {
  custom: {
    50: '#dbe689',
    500: '#c7db52',
    950: '#000000',
  },
}
SCSS
$custom: #c7db52;
$custom-light: #dbe689;
$custom-dark: #000000;
JSON
{
  "hex": "#c7db52",
  "rgb": {
    "r": 199,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 68.759,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85059,
    "c": 0.1611,
    "h": 117
  },
  "luminance": 0.63414
}

Semantic roles & 50–950 ramp

primary
#C7DB52
secondary
#473999
accent
#3FE958
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #C7DB52

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

Preview Lab → · Contrast checker → · Palette generator →

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