#DCE958#DCE958

#DCE958 is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 89.7% C 0.166 H 114.1°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#DCE958
RGBrgb(220, 233, 88)
HSLhsl(65, 77%, 63%)
HSVhsv(65, 62%, 91%)
CMYKcmyk(5.6%, 0%, 62.2%, 8.6%)
CIE-LABlab(89.02, -22.75, 66.68)
CIE-LCHlch(89.02, 70.45, 108.84°)
OKLaboklab(89.75% -0.0679 0.1518)
OKLCHoklch(89.75% 0.166 114.1)
XYZxyz(60.4170, 74.1991, 20.3698)
Luminance0.7420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE958 #6558E9
analogous
#E9AD58 #DCE958 #94E958
triadic
#DCE958 #58DCE9 #E958DC
tetradic
#DCE958 #58E9AD #6558E9 #E95894
square
#DCE958 #58E9AD #6558E9 #E95894
split-complementary
#DCE958 #5894E9 #AD58E9
monochromatic
#A2AF17 #D1E222 #DCE958 #E7F08E #F3F7C4

Accessibility & contrast

On white

1.33
#DCE958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.84
#DCE958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE958
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE958#FFFFFF#000000##000000
##DCE9581.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE46
Deuteranopia (green-blind)
#F8E162
Tritanopia (blue-blind)
#E9DCCB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #dce958;
/* rgb */ color: rgb(220, 233, 88);
/* oklch */ color: oklch(89.7% 0.166 114.1);
Tailwind
colors: {
  custom: {
    50: '#eaef8d',
    500: '#dce958',
    950: '#000000',
  },
}
SCSS
$custom: #dce958;
$custom-light: #eaef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#dce958",
  "rgb": {
    "r": 220,
    "g": 233,
    "b": 88
  },
  "hsl": {
    "h": 65.379,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.89747,
    "c": 0.16626,
    "h": 114.1
  },
  "luminance": 0.74198
}

Semantic roles & 50–950 ramp

primary
#DCE958
secondary
#4035B0
accent
#0DD91F
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #DCE958

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

Preview Lab → · Contrast checker → · Palette generator →

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