#DCE74F#DCE74F

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

Color values

HEX#DCE74F
RGBrgb(220, 231, 79)
HSLhsl(64, 76%, 61%)
HSVhsv(64, 66%, 91%)
CMYKcmyk(4.8%, 0%, 65.8%, 9.4%)
CIE-LABlab(88.42, -22.34, 69.58)
CIE-LCHlch(88.42, 73.07, 107.80°)
OKLaboklab(89.24% -0.0676 0.1566)
OKLCHoklch(89.24% 0.171 113.4)
XYZxyz(59.5040, 72.9332, 18.3386)
Luminance0.7293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE74F #5A4FE7
analogous
#E7A64F #DCE74F #90E74F
triadic
#DCE74F #4FDCE7 #E74FDC
tetradic
#DCE74F #4FE7A6 #5A4FE7 #E74F90
square
#DCE74F #4FE7A6 #5A4FE7 #E74F90
split-complementary
#DCE74F #4F90E7 #A64FE7
monochromatic
#9BA517 #CDDB1E #DCE74F #E7EE85 #F1F6BB

Accessibility & contrast

On white

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

On black

15.59
#DCE74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE74F
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE74F#FFFFFF#000000##000000
##DCE74F1.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dce74f;
/* rgb */ color: rgb(220, 231, 79);
/* oklch */ color: oklch(89.2% 0.171 113.4);
Tailwind
colors: {
  custom: {
    50: '#eaee88',
    500: '#dce74f',
    950: '#000000',
  },
}
SCSS
$custom: #dce74f;
$custom-light: #eaee88;
$custom-dark: #000000;
JSON
{
  "hex": "#dce74f",
  "rgb": {
    "r": 220,
    "g": 231,
    "b": 79
  },
  "hsl": {
    "h": 64.342,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.89245,
    "c": 0.17055,
    "h": 113.4
  },
  "luminance": 0.72932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCE74F

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

Preview Lab → · Contrast checker → · Palette generator →

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