#DCE242#DCE242

#DCE242 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.1% C 0.174 H 111.6°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#DCE242
RGBrgb(220, 226, 66)
HSLhsl(62, 73%, 57%)
HSVhsv(62, 71%, 89%)
CMYKcmyk(2.7%, 0%, 70.8%, 11.4%)
CIE-LABlab(87.00, -20.60, 72.87)
CIE-LCHlch(87.00, 75.73, 105.79°)
OKLaboklab(88.08% -0.064 0.1614)
OKLCHoklch(88.08% 0.174 111.6)
XYZxyz(57.6968, 70.0031, 15.6258)
Luminance0.7000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE242 #4842E2
analogous
#E29842 #DCE242 #8CE242
triadic
#DCE242 #42DCE2 #E242DC
tetradic
#DCE242 #42E298 #4842E2 #E2428C
square
#DCE242 #42E298 #4842E2 #E2428C
split-complementary
#DCE242 #428CE2 #9842E2
monochromatic
#8E9317 #C2C81F #DCE242 #E6EA77 #F0F2AC

Accessibility & contrast

On white

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

On black

15.00
#DCE242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE242
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE242#FFFFFF#000000##000000
##DCE2421.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D824
Deuteranopia (green-blind)
#F4DC4E
Tritanopia (blue-blind)
#EBD4C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dce242;
/* rgb */ color: rgb(220, 226, 66);
/* oklch */ color: oklch(88.1% 0.174 111.6);
Tailwind
colors: {
  custom: {
    50: '#ebea81',
    500: '#dce242',
    950: '#000000',
  },
}
SCSS
$custom: #dce242;
$custom-light: #ebea81;
$custom-dark: #000000;
JSON
{
  "hex": "#dce242",
  "rgb": {
    "r": 220,
    "g": 226,
    "b": 66
  },
  "hsl": {
    "h": 62.25,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.88084,
    "c": 0.17366,
    "h": 111.6
  },
  "luminance": 0.70002
}

Semantic roles & 50–950 ramp

primary
#DCE242
secondary
#353198
accent
#38F03F
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #DCE242

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

Preview Lab → · Contrast checker → · Palette generator →

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