#DCD95F#DCD95F

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

Color values

HEX#DCD95F
RGBrgb(220, 217, 95)
HSLhsl(59, 64%, 62%)
HSVhsv(59, 57%, 86%)
CMYKcmyk(0%, 1.4%, 56.8%, 13.7%)
CIE-LABlab(84.83, -14.45, 59.16)
CIE-LCHlch(84.83, 60.90, 103.73°)
OKLaboklab(86.42% -0.0437 0.1367)
OKLCHoklch(86.42% 0.144 107.7)
XYZxyz(56.3953, 65.6692, 20.5290)
Luminance0.6567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD95F #5F62DC
analogous
#DC9B5F #DCD95F #A1DC5F
triadic
#DCD95F #5FDCD9 #D95FDC
tetradic
#DCD95F #5FDC9B #5F62DC #DC5FA1
square
#DCD95F #5FDC9B #5F62DC #DC5FA1
split-complementary
#DCD95F #5FA1DC #9B5FDC
monochromatic
#9E9B23 #D0CC2E #DCD95F #E7E591 #F2F1C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD95F#FFFFFF#000000##000000
##DCD95F1.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)
#E9D152
Deuteranopia (green-blind)
#EBD666
Tritanopia (blue-blind)
#EACCBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd95f;
/* rgb */ color: rgb(220, 217, 95);
/* oklch */ color: oklch(86.4% 0.144 107.7);
Tailwind
colors: {
  custom: {
    50: '#e9e491',
    500: '#dcd95f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd95f;
$custom-light: #e9e491;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd95f",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 58.56,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8642,
    "c": 0.14353,
    "h": 107.7
  },
  "luminance": 0.65668
}

Semantic roles & 50–950 ramp

primary
#DCD95F
secondary
#3E40A2
accent
#1ECC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD95F

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

Preview Lab → · Contrast checker → · Palette generator →

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