#C7DB51#C7DB51

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

Color values

HEX#C7DB51
RGBrgb(199, 219, 81)
HSLhsl(69, 66%, 59%)
HSVhsv(69, 63%, 86%)
CMYKcmyk(9.1%, 0%, 63%, 14.1%)
CIE-LABlab(83.65, -24.91, 63.35)
CIE-LCHlch(83.65, 68.07, 111.47°)
OKLaboklab(85.05% -0.0734 0.1442)
OKLCHoklch(85.05% 0.162 117)
XYZxyz(50.3709, 63.3998, 17.3668)
Luminance0.6340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DB51 #6551DB
analogous
#DBAA51 #C7DB51 #82DB51
triadic
#C7DB51 #51C7DB #DB51C7
tetradic
#C7DB51 #51DBAA #6551DB #DB5182
square
#C7DB51 #51DBAA #6551DB #DB5182
split-complementary
#C7DB51 #5182DB #AA51DB
monochromatic
#82931E #AFC629 #C7DB51 #D7E584 #E8F0B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7DB51#FFFFFF#000000##000000
##C7DB511.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03F
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#D3CFBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c7db51;
/* rgb */ color: rgb(199, 219, 81);
/* oklch */ color: oklch(85.0% 0.162 117.0);
Tailwind
colors: {
  custom: {
    50: '#dbe688',
    500: '#c7db51',
    950: '#000000',
  },
}
SCSS
$custom: #c7db51;
$custom-light: #dbe688;
$custom-dark: #000000;
JSON
{
  "hex": "#c7db51",
  "rgb": {
    "r": 199,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 68.696,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.8505,
    "c": 0.16186,
    "h": 117
  },
  "luminance": 0.63399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7DB51

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

Preview Lab → · Contrast checker → · Palette generator →

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