#DCE152#DCE152

#DCE152 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.0% C 0.162 H 111.2°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#DCE152
RGBrgb(220, 225, 82)
HSLhsl(62, 70%, 60%)
HSVhsv(62, 64%, 88%)
CMYKcmyk(2.2%, 0%, 63.6%, 11.8%)
CIE-LABlab(86.84, -19.25, 66.78)
CIE-LCHlch(86.84, 69.50, 106.08°)
OKLaboklab(87.99% -0.0587 0.1511)
OKLCHoklch(87.99% 0.162 111.2)
XYZxyz(57.9651, 69.6767, 18.3765)
Luminance0.6967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE152 #5752E1
analogous
#E19F52 #DCE152 #94E152
triadic
#DCE152 #52DCE1 #E152DC
tetradic
#DCE152 #52E19F #5752E1 #E15294
square
#DCE152 #52E19F #5752E1 #E15294
split-complementary
#DCE152 #5294E1 #9F52E1
monochromatic
#999D1B #CBD124 #DCE152 #E7EA86 #F1F3BA

Accessibility & contrast

On white

1.41
#DCE152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#DCE152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE152
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE152#FFFFFF#000000##000000
##DCE1521.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dce152;
/* rgb */ color: rgb(220, 225, 82);
/* oklch */ color: oklch(88.0% 0.162 111.2);
Tailwind
colors: {
  custom: {
    50: '#eaea89',
    500: '#dce152',
    950: '#000000',
  },
}
SCSS
$custom: #dce152;
$custom-light: #eaea89;
$custom-dark: #000000;
JSON
{
  "hex": "#dce152",
  "rgb": {
    "r": 220,
    "g": 225,
    "b": 82
  },
  "hsl": {
    "h": 62.098,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.8799,
    "c": 0.16213,
    "h": 111.2
  },
  "luminance": 0.69675
}

Semantic roles & 50–950 ramp

primary
#DCE152
secondary
#3A37A1
accent
#13D21A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DCE152

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

Preview Lab → · Contrast checker → · Palette generator →

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