#DCE162#DCE162

#DCE162 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.1% C 0.149 H 111.2°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#DCE162
RGBrgb(220, 225, 98)
HSLhsl(62, 68%, 63%)
HSVhsv(62, 56%, 88%)
CMYKcmyk(2.2%, 0%, 56.4%, 11.8%)
CIE-LABlab(86.97, -18.18, 60.24)
CIE-LCHlch(86.97, 62.92, 106.79°)
OKLaboklab(88.14% -0.054 0.1394)
OKLCHoklch(88.14% 0.149 111.2)
XYZxyz(58.6465, 69.9492, 21.9651)
Luminance0.6995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE162 #6762E1
analogous
#E1A662 #DCE162 #9CE162
triadic
#DCE162 #62DCE1 #E162DC
tetradic
#DCE162 #62E1A6 #6762E1 #E1629C
square
#DCE162 #62E1A6 #6762E1 #E1629C
split-complementary
#DCE162 #629CE1 #A662E1
monochromatic
#A3A820 #D1D72F #DCE162 #E7EB95 #F3F5C9

Accessibility & contrast

On white

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

On black

14.99
#DCE162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE162
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE162#FFFFFF#000000##000000
##DCE1621.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D854
Deuteranopia (green-blind)
#F1DC69
Tritanopia (blue-blind)
#EAD5C5
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #dce162;
/* rgb */ color: rgb(220, 225, 98);
/* oklch */ color: oklch(88.1% 0.149 111.2);
Tailwind
colors: {
  custom: {
    50: '#e9ea93',
    500: '#dce162',
    950: '#000000',
  },
}
SCSS
$custom: #dce162;
$custom-light: #e9ea93;
$custom-dark: #000000;
JSON
{
  "hex": "#dce162",
  "rgb": {
    "r": 220,
    "g": 225,
    "b": 98
  },
  "hsl": {
    "h": 62.362,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8814,
    "c": 0.14947,
    "h": 111.2
  },
  "luminance": 0.69948
}

Semantic roles & 50–950 ramp

primary
#DCE162
secondary
#413DAB
accent
#16D01D
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #DCE162

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

Preview Lab → · Contrast checker → · Palette generator →

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