#DCE052#DCE052

#DCE052 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 87.8% C 0.161 H 110.8°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#DCE052
RGBrgb(220, 224, 82)
HSLhsl(62, 70%, 60%)
HSVhsv(62, 63%, 88%)
CMYKcmyk(1.8%, 0%, 63.4%, 12.2%)
CIE-LABlab(86.57, -18.77, 66.50)
CIE-LCHlch(86.57, 69.10, 105.76°)
OKLaboklab(87.78% -0.0573 0.1505)
OKLCHoklch(87.78% 0.161 110.8)
XYZxyz(57.6956, 69.1376, 18.2866)
Luminance0.6914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE052 #5652E0
analogous
#E09D52 #DCE052 #95E052
triadic
#DCE052 #52DCE0 #E052DC
tetradic
#DCE052 #52E09D #5652E0 #E05295
square
#DCE052 #52E09D #5652E0 #E05295
split-complementary
#DCE052 #5295E0 #9D52E0
monochromatic
#989C1C #CBD025 #DCE052 #E7E986 #F1F3BA

Accessibility & contrast

On white

1.42
#DCE052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#DCE052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE052
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE052#FFFFFF#000000##000000
##DCE0521.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D73F
Deuteranopia (green-blind)
#F2DB5B
Tritanopia (blue-blind)
#EAD3C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dce052;
/* rgb */ color: rgb(220, 224, 82);
/* oklch */ color: oklch(87.8% 0.161 110.8);
Tailwind
colors: {
  custom: {
    50: '#eae989',
    500: '#dce052',
    950: '#000000',
  },
}
SCSS
$custom: #dce052;
$custom-light: #eae989;
$custom-dark: #000000;
JSON
{
  "hex": "#dce052",
  "rgb": {
    "r": 220,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 61.69,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.87777,
    "c": 0.16108,
    "h": 110.8
  },
  "luminance": 0.69136
}

Semantic roles & 50–950 ramp

primary
#DCE052
secondary
#3A379F
accent
#3BEC40
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DCE052

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

Preview Lab → · Contrast checker → · Palette generator →

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