#DCD65D#DCD65D

#DCD65D is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.8% C 0.142 H 106.4°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#DCD65D
RGBrgb(220, 214, 93)
HSLhsl(57, 64%, 61%)
HSVhsv(57, 58%, 86%)
CMYKcmyk(0%, 2.7%, 57.7%, 13.7%)
CIE-LABlab(84.02, -13.10, 59.13)
CIE-LCHlch(84.02, 60.57, 102.49°)
OKLaboklab(85.77% -0.0401 0.1364)
OKLCHoklch(85.77% 0.142 106.4)
XYZxyz(55.5393, 64.1008, 19.8009)
Luminance0.6410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD65D #5D63DC
analogous
#DC975D #DCD65D #A3DC5D
triadic
#DCD65D #5DDCD6 #D65DDC
tetradic
#DCD65D #5DDC97 #5D63DC #DC5DA3
square
#DCD65D #5DDC97 #5D63DC #DC5DA3
split-complementary
#DCD65D #5DA3DC #975DDC
monochromatic
#9D9722 #CFC72D #DCD65D #E7E38F #F2EFC2

Accessibility & contrast

On white

1.52
#DCD65D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#DCD65D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD65D
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD65D#FFFFFF#000000##000000
##DCD65D1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF50
Deuteranopia (green-blind)
#E9D464
Tritanopia (blue-blind)
#EBC9BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd65d;
/* rgb */ color: rgb(220, 214, 93);
/* oklch */ color: oklch(85.8% 0.142 106.4);
Tailwind
colors: {
  custom: {
    50: '#eae28f',
    500: '#dcd65d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd65d;
$custom-light: #eae28f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd65d",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 93
  },
  "hsl": {
    "h": 57.165,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8577,
    "c": 0.14219,
    "h": 106.4
  },
  "luminance": 0.64099
}

Semantic roles & 50–950 ramp

primary
#DCD65D
secondary
#3D41A1
accent
#22CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD65D

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

Preview Lab → · Contrast checker → · Palette generator →

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