#DCE952#DCE952

#DCE952 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 89.7% C 0.171 H 114.1°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#DCE952
RGBrgb(220, 233, 82)
HSLhsl(65, 77%, 62%)
HSVhsv(65, 65%, 91%)
CMYKcmyk(5.6%, 0%, 64.8%, 8.6%)
CIE-LABlab(88.97, -23.12, 69.00)
CIE-LCHlch(88.97, 72.77, 108.52°)
OKLaboklab(89.7% -0.0695 0.1558)
OKLCHoklch(89.7% 0.171 114.1)
XYZxyz(60.1787, 74.1038, 19.1143)
Luminance0.7410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE952 #5F52E9
analogous
#E9AB52 #DCE952 #90E952
triadic
#DCE952 #52DCE9 #E952DC
tetradic
#DCE952 #52E9AB #5F52E9 #E95290
square
#DCE952 #52E9AB #5F52E9 #E95290
split-complementary
#DCE952 #5290E9 #AB52E9
monochromatic
#9EAB16 #D0E11D #DCE952 #E7F088 #F2F7BF

Accessibility & contrast

On white

1.33
#DCE952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.82
#DCE952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE952
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE952#FFFFFF#000000##000000
##DCE9521.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE3D
Deuteranopia (green-blind)
#F9E15D
Tritanopia (blue-blind)
#EADCCA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #dce952;
/* rgb */ color: rgb(220, 233, 82);
/* oklch */ color: oklch(89.7% 0.171 114.1);
Tailwind
colors: {
  custom: {
    50: '#eaef8a',
    500: '#dce952',
    950: '#000000',
  },
}
SCSS
$custom: #dce952;
$custom-light: #eaef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#dce952",
  "rgb": {
    "r": 220,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 65.166,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89697,
    "c": 0.17061,
    "h": 114.1
  },
  "luminance": 0.74103
}

Semantic roles & 50–950 ramp

primary
#DCE952
secondary
#3E33AC
accent
#0CDA1E
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #DCE952

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

Preview Lab → · Contrast checker → · Palette generator →

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