#DCE97A#DCE97A

#DCE97A is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.1% C 0.136 H 114.7°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#DCE97A
RGBrgb(220, 233, 122)
HSLhsl(67, 72%, 70%)
HSVhsv(67, 48%, 91%)
CMYKcmyk(5.6%, 0%, 47.6%, 8.6%)
CIE-LABlab(89.35, -20.05, 52.08)
CIE-LCHlch(89.35, 55.81, 111.06°)
OKLaboklab(90.12% -0.057 0.124)
OKLCHoklch(90.12% 0.136 114.7)
XYZxyz(62.1678, 74.8994, 29.5906)
Luminance0.7490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE97A #877AE9
analogous
#E9BF7A #DCE97A #A5E97A
triadic
#DCE97A #7ADCE9 #E97ADC
tetradic
#DCE97A #7AE9BF #877AE9 #E97AA5
square
#DCE97A #7AE9BF #877AE9 #E97AA5
split-complementary
#DCE97A #7AA5E9 #BF7AE9
monochromatic
#B4C821 #CEE045 #DCE97A #EAF2AF #F8FAE3

Accessibility & contrast

On white

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

On black

15.98
#DCE97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE97A
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE97A#FFFFFF#000000##000000
##DCE97A1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E070
Deuteranopia (green-blind)
#F6E280
Tritanopia (blue-blind)
#E7DECF
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dce97a;
/* rgb */ color: rgb(220, 233, 122);
/* oklch */ color: oklch(90.1% 0.136 114.7);
Tailwind
colors: {
  custom: {
    50: '#e9f0a3',
    500: '#dce97a',
    950: '#000000',
  },
}
SCSS
$custom: #dce97a;
$custom-light: #e9f0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dce97a",
  "rgb": {
    "r": 220,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 67.027,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90117,
    "c": 0.13648,
    "h": 114.7
  },
  "luminance": 0.74899
}

Semantic roles & 50–950 ramp

primary
#DCE97A
secondary
#5446C1
accent
#12D429
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #DCE97A

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

Preview Lab → · Contrast checker → · Palette generator →

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