#DCDF51#DCDF51

#DCDF51 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.6% C 0.161 H 110.5°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#DCDF51
RGBrgb(220, 223, 81)
HSLhsl(61, 69%, 60%)
HSVhsv(61, 64%, 87%)
CMYKcmyk(1.3%, 0%, 63.7%, 12.5%)
CIE-LABlab(86.30, -18.34, 66.61)
CIE-LCHlch(86.30, 69.09, 105.39°)
OKLaboklab(87.56% -0.0562 0.1506)
OKLCHoklch(87.56% 0.161 110.5)
XYZxyz(57.3898, 68.5866, 17.9984)
Luminance0.6858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDF51 #5451DF
analogous
#DF9B51 #DCDF51 #95DF51
triadic
#DCDF51 #51DCDF #DF51DC
tetradic
#DCDF51 #51DF9B #5451DF #DF5195
square
#DCDF51 #51DF9B #5451DF #DF5195
split-complementary
#DCDF51 #5195DF #9B51DF
monochromatic
#97991C #CACD26 #DCDF51 #E6E985 #F1F2B8

Accessibility & contrast

On white

1.43
#DCDF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#DCDF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDF51
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDF51#FFFFFF#000000##000000
##DCDF511.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63E
Deuteranopia (green-blind)
#F1DA5A
Tritanopia (blue-blind)
#EBD2C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dcdf51;
/* rgb */ color: rgb(220, 223, 81);
/* oklch */ color: oklch(87.6% 0.161 110.5);
Tailwind
colors: {
  custom: {
    50: '#eae889',
    500: '#dcdf51',
    950: '#000000',
  },
}
SCSS
$custom: #dcdf51;
$custom-light: #eae889;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdf51",
  "rgb": {
    "r": 220,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 61.268,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.87557,
    "c": 0.16078,
    "h": 110.5
  },
  "luminance": 0.68585
}

Semantic roles & 50–950 ramp

primary
#DCDF51
secondary
#39379D
accent
#3CEC40
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DCDF51

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

Preview Lab → · Contrast checker → · Palette generator →

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