#C7DB48#C7DB48

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

Color values

HEX#C7DB48
RGBrgb(199, 219, 72)
HSLhsl(68, 67%, 57%)
HSVhsv(68, 67%, 86%)
CMYKcmyk(9.1%, 0%, 67.1%, 14.1%)
CIE-LABlab(83.59, -25.47, 66.81)
CIE-LCHlch(83.59, 71.50, 110.87°)
OKLaboklab(84.98% -0.0759 0.1502)
OKLCHoklch(84.98% 0.168 116.8)
XYZxyz(50.0555, 63.2736, 15.7058)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DB48 #5C48DB
analogous
#DBA548 #C7DB48 #7EDB48
triadic
#C7DB48 #48C7DB #DB48C7
tetradic
#C7DB48 #48DBA5 #5C48DB #DB487E
square
#C7DB48 #48DBA5 #5C48DB #DB487E
split-complementary
#C7DB48 #487EDB #A548DB
monochromatic
#7D8D1C #ABC026 #C7DB48 #D7E57B #E6EFAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7DB48#FFFFFF#000000##000000
##C7DB481.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)
#EAD032
Deuteranopia (green-blind)
#E8D153
Tritanopia (blue-blind)
#D3CFBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #c7db48;
/* rgb */ color: rgb(199, 219, 72);
/* oklch */ color: oklch(85.0% 0.168 116.8);
Tailwind
colors: {
  custom: {
    50: '#dbe683',
    500: '#c7db48',
    950: '#000000',
  },
}
SCSS
$custom: #c7db48;
$custom-light: #dbe683;
$custom-dark: #000000;
JSON
{
  "hex": "#c7db48",
  "rgb": {
    "r": 199,
    "g": 219,
    "b": 72
  },
  "hsl": {
    "h": 68.163,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84976,
    "c": 0.1683,
    "h": 116.8
  },
  "luminance": 0.63273
}

Semantic roles & 50–950 ramp

primary
#C7DB48
secondary
#423592
accent
#3EEA55
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7DB48

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

Preview Lab → · Contrast checker → · Palette generator →

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