#DCE97B#DCE97B

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

Color values

HEX#DCE97B
RGBrgb(220, 233, 123)
HSLhsl(67, 71%, 70%)
HSVhsv(67, 47%, 91%)
CMYKcmyk(5.6%, 0%, 47.2%, 8.6%)
CIE-LABlab(89.36, -19.96, 51.63)
CIE-LCHlch(89.36, 55.35, 111.14°)
OKLaboklab(90.13% -0.0566 0.1231)
OKLCHoklch(90.13% 0.135 114.7)
XYZxyz(62.2301, 74.9244, 29.9186)
Luminance0.7492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE97B #887BE9
analogous
#E9BF7B #DCE97B #A5E97B
triadic
#DCE97B #7BDCE9 #E97BDC
tetradic
#DCE97B #7BE9BF #887BE9 #E97BA5
square
#DCE97B #7BE9BF #887BE9 #E97BA5
split-complementary
#DCE97B #7BA5E9 #BF7BE9
monochromatic
#B5C821 #CEE047 #DCE97B #EAF2AF #F8FAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCE97B#FFFFFF#000000##000000
##DCE97B1.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)
#F7E071
Deuteranopia (green-blind)
#F6E281
Tritanopia (blue-blind)
#E7DECF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dce97b;
/* rgb */ color: rgb(220, 233, 123);
/* oklch */ color: oklch(90.1% 0.135 114.7);
Tailwind
colors: {
  custom: {
    50: '#e9f0a3',
    500: '#dce97b',
    950: '#000000',
  },
}
SCSS
$custom: #dce97b;
$custom-light: #e9f0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dce97b",
  "rgb": {
    "r": 220,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 67.091,
    "s": 71.429,
    "l": 69.804
  },
  "oklch": {
    "l": 0.9013,
    "c": 0.13548,
    "h": 114.7
  },
  "luminance": 0.74924
}

Semantic roles & 50–950 ramp

primary
#DCE97B
secondary
#5547C2
accent
#12D329
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #DCE97B

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

Preview Lab → · Contrast checker → · Palette generator →

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