#DCE97D#DCE97D

#DCE97D is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.2% C 0.133 H 114.8°. Best body text is #000000 at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#DCE97D
RGBrgb(220, 233, 125)
HSLhsl(67, 71%, 70%)
HSVhsv(67, 46%, 91%)
CMYKcmyk(5.6%, 0%, 46.4%, 8.6%)
CIE-LABlab(89.38, -19.77, 50.71)
CIE-LCHlch(89.38, 54.43, 111.30°)
OKLaboklab(90.16% -0.0559 0.1212)
OKLCHoklch(90.16% 0.133 114.8)
XYZxyz(62.3566, 74.9749, 30.5848)
Luminance0.7497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE97D #8A7DE9
analogous
#E9C07D #DCE97D #A6E97D
triadic
#DCE97D #7DDCE9 #E97DDC
tetradic
#DCE97D #7DE9C0 #8A7DE9 #E97DA6
square
#DCE97D #7DE9C0 #8A7DE9 #E97DA6
split-complementary
#DCE97D #7DA6E9 #C07DE9
monochromatic
#B5CA22 #CEE049 #DCE97D #EAF2B1 #F8FBE5

Accessibility & contrast

On white

1.31
#DCE97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.99
#DCE97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE97D
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE97D#FFFFFF#000000##000000
##DCE97D1.001.3115.9915.99
#FFFFFF1.311.0021.0021.00
#00000015.9921.001.001.00
##00000015.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E074
Deuteranopia (green-blind)
#F6E283
Tritanopia (blue-blind)
#E7DED0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dce97d;
/* rgb */ color: rgb(220, 233, 125);
/* oklch */ color: oklch(90.2% 0.133 114.8);
Tailwind
colors: {
  custom: {
    50: '#e8f0a5',
    500: '#dce97d',
    950: '#000000',
  },
}
SCSS
$custom: #dce97d;
$custom-light: #e8f0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dce97d",
  "rgb": {
    "r": 220,
    "g": 233,
    "b": 125
  },
  "hsl": {
    "h": 67.222,
    "s": 71.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.90157,
    "c": 0.13347,
    "h": 114.8
  },
  "luminance": 0.74974
}

Semantic roles & 50–950 ramp

primary
#DCE97D
secondary
#5748C2
accent
#12D32A
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #DCE97D

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

Preview Lab → · Contrast checker → · Palette generator →

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