#DCD65C#DCD65C

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

Color values

HEX#DCD65C
RGBrgb(220, 214, 92)
HSLhsl(57, 65%, 61%)
HSVhsv(57, 58%, 86%)
CMYKcmyk(0%, 2.7%, 58.2%, 13.7%)
CIE-LABlab(84.01, -13.17, 59.56)
CIE-LCHlch(84.01, 61.00, 102.47°)
OKLaboklab(85.76% -0.0404 0.1372)
OKLCHoklch(85.76% 0.143 106.4)
XYZxyz(55.4953, 64.0832, 19.5691)
Luminance0.6408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD65C #5C62DC
analogous
#DC965C #DCD65C #A2DC5C
triadic
#DCD65C #5CDCD6 #D65CDC
tetradic
#DCD65C #5CDC96 #5C62DC #DC5CA2
square
#DCD65C #5CDC96 #5C62DC #DC5CA2
split-complementary
#DCD65C #5CA2DC #965CDC
monochromatic
#9C9622 #CEC72C #DCD65C #E7E38E #F2EFC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD65C#FFFFFF#000000##000000
##DCD65C1.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)
#E6CF4F
Deuteranopia (green-blind)
#E9D463
Tritanopia (blue-blind)
#EBC9BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd65c;
/* rgb */ color: rgb(220, 214, 92);
/* oklch */ color: oklch(85.8% 0.143 106.4);
Tailwind
colors: {
  custom: {
    50: '#eae28f',
    500: '#dcd65c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd65c;
$custom-light: #eae28f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd65c",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 92
  },
  "hsl": {
    "h": 57.188,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8576,
    "c": 0.14303,
    "h": 106.4
  },
  "luminance": 0.64081
}

Semantic roles & 50–950 ramp

primary
#DCD65C
secondary
#3C41A0
accent
#21CC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD65C

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

Preview Lab → · Contrast checker → · Palette generator →

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