#DCE971#DCE971

#DCE971 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.0% C 0.145 H 114.5°. Best body text is #000000 at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#DCE971
RGBrgb(220, 233, 113)
HSLhsl(67, 73%, 68%)
HSVhsv(67, 52%, 91%)
CMYKcmyk(5.6%, 0%, 51.5%, 8.6%)
CIE-LABlab(89.25, -20.87, 56.14)
CIE-LCHlch(89.25, 59.89, 110.39°)
OKLaboklab(90.01% -0.0601 0.1321)
OKLCHoklch(90.01% 0.145 114.5)
XYZxyz(61.6358, 74.6866, 26.7886)
Luminance0.7469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE971 #7E71E9
analogous
#E9BA71 #DCE971 #A0E971
triadic
#DCE971 #71DCE9 #E971DC
tetradic
#DCE971 #71E9BA #7E71E9 #E971A0
square
#DCE971 #71E9BA #7E71E9 #E971A0
split-complementary
#DCE971 #71A0E9 #BA71E9
monochromatic
#B0C21E #CFE13C #DCE971 #E9F1A6 #F6F9DB

Accessibility & contrast

On white

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

On black

15.94
#DCE971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE971
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE971#FFFFFF#000000##000000
##DCE9711.001.3215.9415.94
#FFFFFF1.321.0021.0021.00
#00000015.9421.001.001.00
##00000015.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF66
Deuteranopia (green-blind)
#F7E178
Tritanopia (blue-blind)
#E8DDCE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dce971;
/* rgb */ color: rgb(220, 233, 113);
/* oklch */ color: oklch(90.0% 0.145 114.5);
Tailwind
colors: {
  custom: {
    50: '#e9f09d',
    500: '#dce971',
    950: '#000000',
  },
}
SCSS
$custom: #dce971;
$custom-light: #e9f09d;
$custom-dark: #000000;
JSON
{
  "hex": "#dce971",
  "rgb": {
    "r": 220,
    "g": 233,
    "b": 113
  },
  "hsl": {
    "h": 66.5,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90005,
    "c": 0.14514,
    "h": 114.5
  },
  "luminance": 0.74686
}

Semantic roles & 50–950 ramp

primary
#DCE971
secondary
#4C3EC0
accent
#10D526
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16160E
muted
#85857F

Preview Lab

Preview with #DCE971

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

Preview Lab → · Contrast checker → · Palette generator →

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