#DCD65F#DCD65F

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

Color values

HEX#DCD65F
RGBrgb(220, 214, 95)
HSLhsl(57, 64%, 62%)
HSVhsv(57, 57%, 86%)
CMYKcmyk(0%, 2.7%, 56.8%, 13.7%)
CIE-LABlab(84.04, -12.95, 58.27)
CIE-LCHlch(84.04, 59.69, 102.53°)
OKLaboklab(85.79% -0.0395 0.1348)
OKLCHoklch(85.79% 0.14 106.3)
XYZxyz(55.6290, 64.1367, 20.2735)
Luminance0.6413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD65F #5F65DC
analogous
#DC985F #DCD65F #A4DC5F
triadic
#DCD65F #5FDCD6 #D65FDC
tetradic
#DCD65F #5FDC98 #5F65DC #DC5FA4
square
#DCD65F #5FDC98 #5F65DC #DC5FA4
split-complementary
#DCD65F #5FA4DC #985FDC
monochromatic
#9E9823 #D0C82E #DCD65F #E7E391 #F2F0C3

Accessibility & contrast

On white

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

On black

13.83
#DCD65F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD65F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD65F#FFFFFF#000000##000000
##DCD65F1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF52
Deuteranopia (green-blind)
#E9D465
Tritanopia (blue-blind)
#EAC9BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd65f;
/* rgb */ color: rgb(220, 214, 95);
/* oklch */ color: oklch(85.8% 0.140 106.3);
Tailwind
colors: {
  custom: {
    50: '#e9e290',
    500: '#dcd65f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd65f;
$custom-light: #e9e290;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd65f",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 95
  },
  "hsl": {
    "h": 57.12,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85791,
    "c": 0.14048,
    "h": 106.3
  },
  "luminance": 0.64135
}

Semantic roles & 50–950 ramp

primary
#DCD65F
secondary
#3E42A2
accent
#22CC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD65F

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

Preview Lab → · Contrast checker → · Palette generator →

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