#C7DB45#C7DB45

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

Color values

HEX#C7DB45
RGBrgb(199, 219, 69)
HSLhsl(68, 68%, 56%)
HSVhsv(68, 68%, 86%)
CMYKcmyk(9.1%, 0%, 68.5%, 14.1%)
CIE-LABlab(83.57, -25.64, 67.91)
CIE-LCHlch(83.57, 72.59, 110.69°)
OKLaboklab(84.95% -0.0766 0.1521)
OKLCHoklch(84.95% 0.17 116.7)
XYZxyz(49.9600, 63.2354, 15.2029)
Luminance0.6323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DB45 #5945DB
analogous
#DBA445 #C7DB45 #7CDB45
triadic
#C7DB45 #45C7DB #DB45C7
tetradic
#C7DB45 #45DBA4 #5945DB #DB457C
square
#C7DB45 #45DBA4 #5945DB #DB457C
split-complementary
#C7DB45 #457CDB #A445DB
monochromatic
#7C8B1B #AABE25 #C7DB45 #D6E578 #E6EFAC

Accessibility & contrast

On white

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

On black

13.65
#C7DB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DB45
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DB45#FFFFFF#000000##000000
##C7DB451.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7db45;
/* rgb */ color: rgb(199, 219, 69);
/* oklch */ color: oklch(85.0% 0.170 116.7);
Tailwind
colors: {
  custom: {
    50: '#dbe681',
    500: '#c7db45',
    950: '#000000',
  },
}
SCSS
$custom: #c7db45;
$custom-light: #dbe681;
$custom-dark: #000000;
JSON
{
  "hex": "#c7db45",
  "rgb": {
    "r": 199,
    "g": 219,
    "b": 69
  },
  "hsl": {
    "h": 68,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84953,
    "c": 0.17029,
    "h": 116.7
  },
  "luminance": 0.63235
}

Semantic roles & 50–950 ramp

primary
#C7DB45
secondary
#403491
accent
#3DEA54
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7DB45

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

Preview Lab → · Contrast checker → · Palette generator →

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