#DCE951#DCE951

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

Color values

HEX#DCE951
RGBrgb(220, 233, 81)
HSLhsl(65, 78%, 62%)
HSVhsv(65, 65%, 91%)
CMYKcmyk(5.6%, 0%, 65.2%, 8.6%)
CIE-LABlab(88.96, -23.18, 69.38)
CIE-LCHlch(88.96, 73.15, 108.47°)
OKLaboklab(89.69% -0.0698 0.1565)
OKLCHoklch(89.69% 0.171 114)
XYZxyz(60.1409, 74.0887, 18.9154)
Luminance0.7409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE951 #5E51E9
analogous
#E9AA51 #DCE951 #90E951
triadic
#DCE951 #51DCE9 #E951DC
tetradic
#DCE951 #51E9AA #5E51E9 #E95190
square
#DCE951 #51E9AA #5E51E9 #E95190
split-complementary
#DCE951 #5190E9 #AA51E9
monochromatic
#9DAA16 #D0E01C #DCE951 #E7F087 #F2F7BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCE951#FFFFFF#000000##000000
##DCE9511.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)
#F9DE3C
Deuteranopia (green-blind)
#F9E15C
Tritanopia (blue-blind)
#EADCCA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #dce951;
/* rgb */ color: rgb(220, 233, 81);
/* oklch */ color: oklch(89.7% 0.171 114.0);
Tailwind
colors: {
  custom: {
    50: '#eaef89',
    500: '#dce951',
    950: '#000000',
  },
}
SCSS
$custom: #dce951;
$custom-light: #eaef89;
$custom-dark: #000000;
JSON
{
  "hex": "#dce951",
  "rgb": {
    "r": 220,
    "g": 233,
    "b": 81
  },
  "hsl": {
    "h": 65.132,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.89689,
    "c": 0.17131,
    "h": 114
  },
  "luminance": 0.74088
}

Semantic roles & 50–950 ramp

primary
#DCE951
secondary
#3D33AB
accent
#0CDA1D
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #DCE951

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

Preview Lab → · Contrast checker → · Palette generator →

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