#DCE252#DCE252

#DCE252 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.2% C 0.163 H 111.6°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#DCE252
RGBrgb(220, 226, 82)
HSLhsl(63, 71%, 60%)
HSVhsv(63, 64%, 89%)
CMYKcmyk(2.7%, 0%, 63.7%, 11.4%)
CIE-LABlab(87.10, -19.74, 67.06)
CIE-LCHlch(87.10, 69.90, 106.40°)
OKLaboklab(88.2% -0.0601 0.1517)
OKLCHoklch(88.2% 0.163 111.6)
XYZxyz(58.2362, 70.2189, 18.4669)
Luminance0.7022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE252 #5852E2
analogous
#E2A052 #DCE252 #94E252
triadic
#DCE252 #52DCE2 #E252DC
tetradic
#DCE252 #52E2A0 #5852E2 #E25294
square
#DCE252 #52E2A0 #5852E2 #E25294
split-complementary
#DCE252 #5294E2 #A052E2
monochromatic
#999F1B #CCD323 #DCE252 #E7EB86 #F1F4BB

Accessibility & contrast

On white

1.40
#DCE252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#DCE252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE252
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE252#FFFFFF#000000##000000
##DCE2521.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D83F
Deuteranopia (green-blind)
#F3DC5C
Tritanopia (blue-blind)
#EAD5C4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dce252;
/* rgb */ color: rgb(220, 226, 82);
/* oklch */ color: oklch(88.2% 0.163 111.6);
Tailwind
colors: {
  custom: {
    50: '#eaea89',
    500: '#dce252',
    950: '#000000',
  },
}
SCSS
$custom: #dce252;
$custom-light: #eaea89;
$custom-dark: #000000;
JSON
{
  "hex": "#dce252",
  "rgb": {
    "r": 220,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 62.5,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.88203,
    "c": 0.16317,
    "h": 111.6
  },
  "luminance": 0.70218
}

Semantic roles & 50–950 ramp

primary
#DCE252
secondary
#3B36A2
accent
#12D31A
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DCE252

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

Preview Lab → · Contrast checker → · Palette generator →

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