#DCDF52#DCDF52

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

Color values

HEX#DCDF52
RGBrgb(220, 223, 82)
HSLhsl(61, 69%, 60%)
HSVhsv(61, 63%, 87%)
CMYKcmyk(1.3%, 0%, 63.2%, 12.5%)
CIE-LABlab(86.31, -18.28, 66.22)
CIE-LCHlch(86.31, 68.70, 105.43°)
OKLaboklab(87.57% -0.0559 0.15)
OKLCHoklch(87.57% 0.16 110.5)
XYZxyz(57.4276, 68.6017, 18.1973)
Luminance0.6860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDF52 #5552DF
analogous
#DF9C52 #DCDF52 #95DF52
triadic
#DCDF52 #52DCDF #DF52DC
tetradic
#DCDF52 #52DF9C #5552DF #DF5295
square
#DCDF52 #52DF9C #5552DF #DF5295
split-complementary
#DCDF52 #5295DF #9C52DF
monochromatic
#979A1D #CACE26 #DCDF52 #E6E986 #F1F2B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCDF52#FFFFFF#000000##000000
##DCDF521.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)
#F0D63F
Deuteranopia (green-blind)
#F1DA5B
Tritanopia (blue-blind)
#EBD2C2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dcdf52;
/* rgb */ color: rgb(220, 223, 82);
/* oklch */ color: oklch(87.6% 0.160 110.5);
Tailwind
colors: {
  custom: {
    50: '#eae889',
    500: '#dcdf52',
    950: '#000000',
  },
}
SCSS
$custom: #dcdf52;
$custom-light: #eae889;
$custom-dark: #000000;
JSON
{
  "hex": "#dcdf52",
  "rgb": {
    "r": 220,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 61.277,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87565,
    "c": 0.16004,
    "h": 110.5
  },
  "luminance": 0.686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCDF52

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

Preview Lab → · Contrast checker → · Palette generator →

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