#DCE762#DCE762

#DCE762 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.4% C 0.156 H 113.5°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#DCE762
RGBrgb(220, 231, 98)
HSLhsl(65, 73%, 65%)
HSVhsv(65, 58%, 91%)
CMYKcmyk(4.8%, 0%, 57.6%, 9.4%)
CIE-LABlab(88.57, -21.09, 62.02)
CIE-LCHlch(88.57, 65.51, 108.78°)
OKLaboklab(89.42% -0.0623 0.1432)
OKLCHoklch(89.42% 0.156 113.5)
XYZxyz(60.2971, 73.2504, 22.5153)
Luminance0.7325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE762 #6D62E7
analogous
#E7AF62 #DCE762 #9AE762
triadic
#DCE762 #62DCE7 #E762DC
tetradic
#DCE762 #62E7AF #6D62E7 #E7629A
square
#DCE762 #62E7AF #6D62E7 #E7629A
split-complementary
#DCE762 #629AE7 #AF62E7
monochromatic
#A7B31B #D0DF2D #DCE762 #E8EF97 #F4F7CC

Accessibility & contrast

On white

1.34
#DCE762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.65
#DCE762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE762
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE762#FFFFFF#000000##000000
##DCE7621.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD53
Deuteranopia (green-blind)
#F6E06A
Tritanopia (blue-blind)
#E9DBCA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #dce762;
/* rgb */ color: rgb(220, 231, 98);
/* oklch */ color: oklch(89.4% 0.156 113.5);
Tailwind
colors: {
  custom: {
    50: '#e9ee93',
    500: '#dce762',
    950: '#000000',
  },
}
SCSS
$custom: #dce762;
$custom-light: #e9ee93;
$custom-dark: #000000;
JSON
{
  "hex": "#dce762",
  "rgb": {
    "r": 220,
    "g": 231,
    "b": 98
  },
  "hsl": {
    "h": 64.962,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89415,
    "c": 0.15611,
    "h": 113.5
  },
  "luminance": 0.73249
}

Semantic roles & 50–950 ramp

primary
#DCE762
secondary
#443AB4
accent
#10D620
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #DCE762

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

Preview Lab → · Contrast checker → · Palette generator →

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