#DCE248#DCE248

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

Color values

HEX#DCE248
RGBrgb(220, 226, 72)
HSLhsl(62, 73%, 58%)
HSVhsv(62, 68%, 89%)
CMYKcmyk(2.7%, 0%, 68.1%, 11.4%)
CIE-LABlab(87.03, -20.30, 70.79)
CIE-LCHlch(87.03, 73.64, 106.00°)
OKLaboklab(88.13% -0.0626 0.158)
OKLCHoklch(88.13% 0.17 111.6)
XYZxyz(57.8831, 70.0777, 16.6068)
Luminance0.7008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE248 #4E48E2
analogous
#E29B48 #DCE248 #8FE248
triadic
#DCE248 #48DCE2 #E248DC
tetradic
#DCE248 #48E29B #4E48E2 #E2488F
square
#DCE248 #48E29B #4E48E2 #E2488F
split-complementary
#DCE248 #488FE2 #9B48E2
monochromatic
#939818 #C6CC20 #DCE248 #E6EA7D #F0F3B2

Accessibility & contrast

On white

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

On black

15.02
#DCE248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE248
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE248#FFFFFF#000000##000000
##DCE2481.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D82F
Deuteranopia (green-blind)
#F4DC53
Tritanopia (blue-blind)
#EBD4C4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dce248;
/* rgb */ color: rgb(220, 226, 72);
/* oklch */ color: oklch(88.1% 0.170 111.6);
Tailwind
colors: {
  custom: {
    50: '#eaea84',
    500: '#dce248',
    950: '#000000',
  },
}
SCSS
$custom: #dce248;
$custom-light: #eaea84;
$custom-dark: #000000;
JSON
{
  "hex": "#dce248",
  "rgb": {
    "r": 220,
    "g": 226,
    "b": 72
  },
  "hsl": {
    "h": 62.338,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.88125,
    "c": 0.16998,
    "h": 111.6
  },
  "luminance": 0.70076
}

Semantic roles & 50–950 ramp

primary
#DCE248
secondary
#37339C
accent
#38EF40
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #DCE248

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

Preview Lab → · Contrast checker → · Palette generator →

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