#DCE151#DCE151

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

Color values

HEX#DCE151
RGBrgb(220, 225, 81)
HSLhsl(62, 71%, 60%)
HSVhsv(62, 64%, 88%)
CMYKcmyk(2.2%, 0%, 64%, 11.8%)
CIE-LABlab(86.83, -19.31, 67.17)
CIE-LCHlch(86.83, 69.89, 106.04°)
OKLaboklab(87.98% -0.059 0.1518)
OKLCHoklch(87.98% 0.163 111.2)
XYZxyz(57.9273, 69.6616, 18.1775)
Luminance0.6966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE151 #5651E1
analogous
#E19E51 #DCE151 #94E151
triadic
#DCE151 #51DCE1 #E151DC
tetradic
#DCE151 #51E19E #5651E1 #E15194
square
#DCE151 #51E19E #5651E1 #E15194
split-complementary
#DCE151 #5194E1 #9E51E1
monochromatic
#989D1B #CBD124 #DCE151 #E7EA85 #F1F3B9

Accessibility & contrast

On white

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

On black

14.93
#DCE151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE151
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE151#FFFFFF#000000##000000
##DCE1511.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dce151;
/* rgb */ color: rgb(220, 225, 81);
/* oklch */ color: oklch(88.0% 0.163 111.2);
Tailwind
colors: {
  custom: {
    50: '#eaea89',
    500: '#dce151',
    950: '#000000',
  },
}
SCSS
$custom: #dce151;
$custom-light: #eaea89;
$custom-dark: #000000;
JSON
{
  "hex": "#dce151",
  "rgb": {
    "r": 220,
    "g": 225,
    "b": 81
  },
  "hsl": {
    "h": 62.083,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.87982,
    "c": 0.16285,
    "h": 111.2
  },
  "luminance": 0.6966
}

Semantic roles & 50–950 ramp

primary
#DCE151
secondary
#3A36A0
accent
#3AED41
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DCE151

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

Preview Lab → · Contrast checker → · Palette generator →

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