#DCE257#DCE257

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

Color values

HEX#DCE257
RGBrgb(220, 226, 87)
HSLhsl(63, 71%, 61%)
HSVhsv(63, 62%, 89%)
CMYKcmyk(2.7%, 0%, 61.5%, 11.4%)
CIE-LABlab(87.14, -19.43, 65.09)
CIE-LCHlch(87.14, 67.93, 106.62°)
OKLaboklab(88.25% -0.0587 0.1483)
OKLCHoklch(88.25% 0.159 111.6)
XYZxyz(58.4335, 70.2978, 19.5057)
Luminance0.7030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE257 #5D57E2
analogous
#E2A357 #DCE257 #97E257
triadic
#DCE257 #57DCE2 #E257DC
tetradic
#DCE257 #57E2A3 #5D57E2 #E25797
square
#DCE257 #57E2A3 #5D57E2 #E25797
split-complementary
#DCE257 #5797E2 #A357E2
monochromatic
#9DA31C #CFD725 #DCE257 #E7EB8B #F2F4BF

Accessibility & contrast

On white

1.39
#DCE257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#DCE257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE257
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE257#FFFFFF#000000##000000
##DCE2571.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D846
Deuteranopia (green-blind)
#F3DC60
Tritanopia (blue-blind)
#EAD5C5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dce257;
/* rgb */ color: rgb(220, 226, 87);
/* oklch */ color: oklch(88.2% 0.159 111.6);
Tailwind
colors: {
  custom: {
    50: '#eaea8c',
    500: '#dce257',
    950: '#000000',
  },
}
SCSS
$custom: #dce257;
$custom-light: #eaea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#dce257",
  "rgb": {
    "r": 220,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 62.59,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.88246,
    "c": 0.15945,
    "h": 111.6
  },
  "luminance": 0.70296
}

Semantic roles & 50–950 ramp

primary
#DCE257
secondary
#3D38A5
accent
#13D31B
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DCE257

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

Preview Lab → · Contrast checker → · Palette generator →

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