#DCDA5C#DCDA5C

#DCDA5C is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.6% C 0.147 H 108.3°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#DCDA5C
RGBrgb(220, 218, 92)
HSLhsl(59, 65%, 61%)
HSVhsv(59, 58%, 86%)
CMYKcmyk(0%, 0.9%, 58.2%, 13.7%)
CIE-LABlab(85.06, -15.16, 60.73)
CIE-LCHlch(85.06, 62.59, 104.02°)
OKLaboklab(86.6% -0.0461 0.1397)
OKLCHoklch(86.6% 0.147 108.3)
XYZxyz(56.5201, 66.1328, 19.9107)
Luminance0.6613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA5C #5C5EDC
analogous
#DC9A5C #DCDA5C #9EDC5C
triadic
#DCDA5C #5CDCDA #DA5CDC
tetradic
#DCDA5C #5CDC9A #5C5EDC #DC5C9E
square
#DCDA5C #5CDC9A #5C5EDC #DC5C9E
split-complementary
#DCDA5C #5C9EDC #9A5CDC
monochromatic
#9C9A22 #CECC2C #DCDA5C #E7E58E #F2F1C1

Accessibility & contrast

On white

1.48
#DCDA5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.23
#DCDA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA5C
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA5C#FFFFFF#000000##000000
##DCDA5C1.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24E
Deuteranopia (green-blind)
#ECD763
Tritanopia (blue-blind)
#EACDBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcda5c;
/* rgb */ color: rgb(220, 218, 92);
/* oklch */ color: oklch(86.6% 0.147 108.3);
Tailwind
colors: {
  custom: {
    50: '#eae58f',
    500: '#dcda5c',
    950: '#000000',
  },
}
SCSS
$custom: #dcda5c;
$custom-light: #eae58f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda5c",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 92
  },
  "hsl": {
    "h": 59.063,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.866,
    "c": 0.14709,
    "h": 108.3
  },
  "luminance": 0.66131
}

Semantic roles & 50–950 ramp

primary
#DCDA5C
secondary
#3C3EA0
accent
#1CCC19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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