#C7DF48#C7DF48

#C7DF48 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 85.9% C 0.173 H 118.0°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#C7DF48
RGBrgb(199, 223, 72)
HSLhsl(70, 70%, 58%)
HSVhsv(70, 68%, 87%)
CMYKcmyk(10.8%, 0%, 67.7%, 12.5%)
CIE-LABlab(84.68, -27.38, 67.92)
CIE-LCHlch(84.68, 73.23, 111.95°)
OKLaboklab(85.86% -0.0812 0.1526)
OKLCHoklch(85.86% 0.173 118)
XYZxyz(51.1116, 65.3858, 16.0578)
Luminance0.6539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7DF48 #6048DF
analogous
#DFAB48 #C7DF48 #7CDF48
triadic
#C7DF48 #48C7DF #DF48C7
tetradic
#C7DF48 #48DFAB #6048DF #DF487C
square
#C7DF48 #48DFAB #6048DF #DF487C
split-complementary
#C7DF48 #487CDF #AB48DF
monochromatic
#80931A #ADC723 #C7DF48 #D7E87C #E7F1B0

Accessibility & contrast

On white

1.49
#C7DF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#C7DF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7DF48
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7DF48#FFFFFF#000000##000000
##C7DF481.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD331
Deuteranopia (green-blind)
#EBD454
Tritanopia (blue-blind)
#D3D3C1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #c7df48;
/* rgb */ color: rgb(199, 223, 72);
/* oklch */ color: oklch(85.9% 0.173 118.0);
Tailwind
colors: {
  custom: {
    50: '#dbe983',
    500: '#c7df48',
    950: '#000000',
  },
}
SCSS
$custom: #c7df48;
$custom-light: #dbe983;
$custom-dark: #000000;
JSON
{
  "hex": "#c7df48",
  "rgb": {
    "r": 199,
    "g": 223,
    "b": 72
  },
  "hsl": {
    "h": 69.536,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85856,
    "c": 0.17281,
    "h": 118
  },
  "luminance": 0.65385
}

Semantic roles & 50–950 ramp

primary
#C7DF48
secondary
#443498
accent
#3BED57
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15160B
muted
#84847E

Preview Lab

Preview with #C7DF48

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

Preview Lab → · Contrast checker → · Palette generator →

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