#DCCF51#DCCF51

#DCCF51 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.2% C 0.145 H 103.4°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#DCCF51
RGBrgb(220, 207, 81)
HSLhsl(54, 67%, 59%)
HSVhsv(54, 63%, 86%)
CMYKcmyk(0%, 5.9%, 63.2%, 13.7%)
CIE-LABlab(82.08, -10.38, 62.17)
CIE-LCHlch(82.08, 63.03, 99.48°)
OKLaboklab(84.19% -0.0337 0.1412)
OKLCHoklch(84.19% 0.145 103.4)
XYZxyz(53.3153, 60.4374, 16.6402)
Luminance0.6044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCF51 #515EDC
analogous
#DC8A51 #DCCF51 #A4DC51
triadic
#DCCF51 #51DCCF #CF51DC
tetradic
#DCCF51 #51DC8A #515EDC #DC51A4
square
#DCCF51 #51DC8A #515EDC #DC51A4
split-complementary
#DCCF51 #51A4DC #8A51DC
monochromatic
#958A1E #C8B928 #DCCF51 #E6DD84 #F0EBB7

Accessibility & contrast

On white

1.60
#DCCF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#DCCF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCF51
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCF51#FFFFFF#000000##000000
##DCCF511.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C842
Deuteranopia (green-blind)
#E5CF58
Tritanopia (blue-blind)
#ECC2B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dccf51;
/* rgb */ color: rgb(220, 207, 81);
/* oklch */ color: oklch(84.2% 0.145 103.4);
Tailwind
colors: {
  custom: {
    50: '#eadd87',
    500: '#dccf51',
    950: '#000000',
  },
}
SCSS
$custom: #dccf51;
$custom-light: #eadd87;
$custom-dark: #000000;
JSON
{
  "hex": "#dccf51",
  "rgb": {
    "r": 220,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 54.388,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84191,
    "c": 0.1452,
    "h": 103.4
  },
  "luminance": 0.60435
}

Semantic roles & 50–950 ramp

primary
#DCCF51
secondary
#384199
accent
#4EE93E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCCF51

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

Preview Lab → · Contrast checker → · Palette generator →

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