#DCE251#DCE251

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

Color values

HEX#DCE251
RGBrgb(220, 226, 81)
HSLhsl(62, 71%, 60%)
HSVhsv(62, 64%, 89%)
CMYKcmyk(2.7%, 0%, 64.2%, 11.4%)
CIE-LABlab(87.10, -19.80, 67.45)
CIE-LCHlch(87.10, 70.29, 106.36°)
OKLaboklab(88.19% -0.0603 0.1524)
OKLCHoklch(88.19% 0.164 111.6)
XYZxyz(58.1985, 70.2038, 18.2679)
Luminance0.7020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE251 #5751E2
analogous
#E2A051 #DCE251 #93E251
triadic
#DCE251 #51DCE2 #E251DC
tetradic
#DCE251 #51E2A0 #5751E2 #E25193
square
#DCE251 #51E2A0 #5751E2 #E25193
split-complementary
#DCE251 #5193E2 #A051E2
monochromatic
#999E1A #CBD323 #DCE251 #E7EB85 #F1F3BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCE251#FFFFFF#000000##000000
##DCE2511.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)
#F3D83D
Deuteranopia (green-blind)
#F3DC5B
Tritanopia (blue-blind)
#EAD5C4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dce251;
/* rgb */ color: rgb(220, 226, 81);
/* oklch */ color: oklch(88.2% 0.164 111.6);
Tailwind
colors: {
  custom: {
    50: '#eaea89',
    500: '#dce251',
    950: '#000000',
  },
}
SCSS
$custom: #dce251;
$custom-light: #eaea89;
$custom-dark: #000000;
JSON
{
  "hex": "#dce251",
  "rgb": {
    "r": 220,
    "g": 226,
    "b": 81
  },
  "hsl": {
    "h": 62.483,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.88194,
    "c": 0.16389,
    "h": 111.6
  },
  "luminance": 0.70202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCE251

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

Preview Lab → · Contrast checker → · Palette generator →

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