#DCD95E#DCD95E

#DCD95E is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.4% C 0.144 H 107.8°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#DCD95E
RGBrgb(220, 217, 94)
HSLhsl(59, 64%, 62%)
HSVhsv(59, 57%, 86%)
CMYKcmyk(0%, 1.4%, 57.3%, 13.7%)
CIE-LABlab(84.82, -14.52, 59.59)
CIE-LCHlch(84.82, 61.33, 103.70°)
OKLaboklab(86.41% -0.0441 0.1375)
OKLCHoklch(86.41% 0.144 107.8)
XYZxyz(56.3501, 65.6511, 20.2911)
Luminance0.6565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD95E #5E61DC
analogous
#DC9A5E #DCD95E #A0DC5E
triadic
#DCD95E #5EDCD9 #D95EDC
tetradic
#DCD95E #5EDC9A #5E61DC #DC5EA0
square
#DCD95E #5EDC9A #5E61DC #DC5EA0
split-complementary
#DCD95E #5EA0DC #9A5EDC
monochromatic
#9D9A22 #D0CC2D #DCD95E #E7E590 #F2F1C3

Accessibility & contrast

On white

1.49
#DCD95E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#DCD95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD95E
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD95E#FFFFFF#000000##000000
##DCD95E1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D151
Deuteranopia (green-blind)
#EBD665
Tritanopia (blue-blind)
#EACCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd95e;
/* rgb */ color: rgb(220, 217, 94);
/* oklch */ color: oklch(86.4% 0.144 107.8);
Tailwind
colors: {
  custom: {
    50: '#eae490',
    500: '#dcd95e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd95e;
$custom-light: #eae490;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd95e",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 58.571,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8641,
    "c": 0.14438,
    "h": 107.8
  },
  "luminance": 0.6565
}

Semantic roles & 50–950 ramp

primary
#DCD95E
secondary
#3D3FA1
accent
#1ECC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD95E

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

Preview Lab → · Contrast checker → · Palette generator →

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