#DCD56F#DCD56F

#DCD56F is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.8% C 0.125 H 105.2°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#DCD56F
RGBrgb(220, 213, 111)
HSLhsl(56, 61%, 65%)
HSVhsv(56, 50%, 86%)
CMYKcmyk(0%, 3.2%, 49.5%, 13.7%)
CIE-LABlab(83.94, -11.17, 50.80)
CIE-LCHlch(83.94, 52.01, 102.40°)
OKLaboklab(85.77% -0.0327 0.1203)
OKLCHoklch(85.77% 0.125 105.2)
XYZxyz(56.1801, 63.9535, 24.4207)
Luminance0.6395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD56F #6F76DC
analogous
#DC9F6F #DCD56F #ACDC6F
triadic
#DCD56F #6FDCD5 #D56FDC
tetradic
#DCD56F #6FDC9F #6F76DC #DC6FAC
square
#DCD56F #6FDC9F #6F76DC #DC6FAC
split-complementary
#DCD56F #6FACDC #9F6FDC
monochromatic
#A8A029 #D0C73E #DCD56F #E8E3A0 #F4F2D1

Accessibility & contrast

On white

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

On black

13.79
#DCD56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD56F
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD56F#FFFFFF#000000##000000
##DCD56F1.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF66
Deuteranopia (green-blind)
#E7D474
Tritanopia (blue-blind)
#EAC9BD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd56f;
/* rgb */ color: rgb(220, 213, 111);
/* oklch */ color: oklch(85.8% 0.125 105.2);
Tailwind
colors: {
  custom: {
    50: '#e9e19b',
    500: '#dcd56f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd56f;
$custom-light: #e9e19b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd56f",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 111
  },
  "hsl": {
    "h": 56.147,
    "s": 60.894,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85769,
    "c": 0.12466,
    "h": 105.2
  },
  "luminance": 0.63952
}

Semantic roles & 50–950 ramp

primary
#DCD56F
secondary
#454BAB
accent
#28C91D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD56F

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

Preview Lab → · Contrast checker → · Palette generator →

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