#DCE962#DCE962

#DCE962 is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 89.8% C 0.158 H 114.2°. Best body text is #000000 at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#DCE962
RGBrgb(220, 233, 98)
HSLhsl(66, 75%, 65%)
HSVhsv(66, 58%, 91%)
CMYKcmyk(5.6%, 0%, 57.9%, 8.6%)
CIE-LABlab(89.10, -22.06, 62.61)
CIE-LCHlch(89.10, 66.38, 109.41°)
OKLaboklab(89.84% -0.065 0.1444)
OKLCHoklch(89.84% 0.158 114.2)
XYZxyz(60.8600, 74.3763, 22.7029)
Luminance0.7438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE962 #6F62E9
analogous
#E9B362 #DCE962 #98E962
triadic
#DCE962 #62DCE9 #E962DC
tetradic
#DCE962 #62E9B3 #6F62E9 #E96298
square
#DCE962 #62E9B3 #6F62E9 #E96298
split-complementary
#DCE962 #6298E9 #B362E9
monochromatic
#A8B71A #D0E12C #DCE962 #E8F198 #F4F8CD

Accessibility & contrast

On white

1.32
#DCE962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.88
#DCE962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE962
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE962#FFFFFF#000000##000000
##DCE9621.001.3215.8815.88
#FFFFFF1.321.0021.0021.00
#00000015.8821.001.001.00
##00000015.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF53
Deuteranopia (green-blind)
#F8E16A
Tritanopia (blue-blind)
#E9DDCC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dce962;
/* rgb */ color: rgb(220, 233, 98);
/* oklch */ color: oklch(89.8% 0.158 114.2);
Tailwind
colors: {
  custom: {
    50: '#e9ef93',
    500: '#dce962',
    950: '#000000',
  },
}
SCSS
$custom: #dce962;
$custom-light: #e9ef93;
$custom-dark: #000000;
JSON
{
  "hex": "#dce962",
  "rgb": {
    "r": 220,
    "g": 233,
    "b": 98
  },
  "hsl": {
    "h": 65.778,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.89841,
    "c": 0.15836,
    "h": 114.2
  },
  "luminance": 0.74375
}

Semantic roles & 50–950 ramp

primary
#DCE962
secondary
#4538B7
accent
#0ED821
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #DCE962

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

Preview Lab → · Contrast checker → · Palette generator →

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