#DCE97F#DCE97F

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

Color values

HEX#DCE97F
RGBrgb(220, 233, 127)
HSLhsl(67, 71%, 71%)
HSVhsv(67, 45%, 91%)
CMYKcmyk(5.6%, 0%, 45.5%, 8.6%)
CIE-LABlab(89.41, -19.57, 49.79)
CIE-LCHlch(89.41, 53.50, 111.46°)
OKLaboklab(90.18% -0.0552 0.1193)
OKLCHoklch(90.18% 0.131 114.8)
XYZxyz(62.4856, 75.0266, 31.2644)
Luminance0.7503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE97F #8C7FE9
analogous
#E9C17F #DCE97F #A7E97F
triadic
#DCE97F #7FDCE9 #E97FDC
tetradic
#DCE97F #7FE9C1 #8C7FE9 #E97FA7
square
#DCE97F #7FE9C1 #8C7FE9 #E97FA7
split-complementary
#DCE97F #7FA7E9 #C17FE9
monochromatic
#B6CB23 #CEE04B #DCE97F #EAF2B3 #F8FBE5

Accessibility & contrast

On white

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

On black

16.01
#DCE97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE97F
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE97F#FFFFFF#000000##000000
##DCE97F1.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dce97f;
/* rgb */ color: rgb(220, 233, 127);
/* oklch */ color: oklch(90.2% 0.131 114.8);
Tailwind
colors: {
  custom: {
    50: '#e8f0a6',
    500: '#dce97f',
    950: '#000000',
  },
}
SCSS
$custom: #dce97f;
$custom-light: #e8f0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dce97f",
  "rgb": {
    "r": 220,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 67.358,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90184,
    "c": 0.13145,
    "h": 114.8
  },
  "luminance": 0.75026
}

Semantic roles & 50–950 ramp

primary
#DCE97F
secondary
#594AC2
accent
#13D32A
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #DCE97F

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

Preview Lab → · Contrast checker → · Palette generator →

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