#DCE74D#DCE74D

#DCE74D is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.2% C 0.172 H 113.4°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#DCE74D
RGBrgb(220, 231, 77)
HSLhsl(64, 76%, 60%)
HSVhsv(64, 67%, 91%)
CMYKcmyk(4.8%, 0%, 66.7%, 9.4%)
CIE-LABlab(88.40, -22.45, 70.32)
CIE-LCHlch(88.40, 73.81, 107.71°)
OKLaboklab(89.23% -0.0681 0.1578)
OKLCHoklch(89.23% 0.172 113.4)
XYZxyz(59.4323, 72.9045, 17.9609)
Luminance0.7290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE74D #584DE7
analogous
#E7A54D #DCE74D #8FE74D
triadic
#DCE74D #4DDCE7 #E74DDC
tetradic
#DCE74D #4DE7A5 #584DE7 #E74D8F
square
#DCE74D #4DE7A5 #584DE7 #E74D8F
split-complementary
#DCE74D #4D8FE7 #A54DE7
monochromatic
#99A416 #CCD91D #DCE74D #E7EE83 #F1F6B9

Accessibility & contrast

On white

1.35
#DCE74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#DCE74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE74D
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE74D#FFFFFF#000000##000000
##DCE74D1.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DC36
Deuteranopia (green-blind)
#F7DF58
Tritanopia (blue-blind)
#EADAC8
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #dce74d;
/* rgb */ color: rgb(220, 231, 77);
/* oklch */ color: oklch(89.2% 0.172 113.4);
Tailwind
colors: {
  custom: {
    50: '#eaee87',
    500: '#dce74d',
    950: '#000000',
  },
}
SCSS
$custom: #dce74d;
$custom-light: #eaee87;
$custom-dark: #000000;
JSON
{
  "hex": "#dce74d",
  "rgb": {
    "r": 220,
    "g": 231,
    "b": 77
  },
  "hsl": {
    "h": 64.286,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8923,
    "c": 0.17191,
    "h": 113.4
  },
  "luminance": 0.72903
}

Semantic roles & 50–950 ramp

primary
#DCE74D
secondary
#3B32A6
accent
#0DD81C
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DCE74D

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

Preview Lab → · Contrast checker → · Palette generator →

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