#DCDA5A#DCDA5A

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

Color values

HEX#DCDA5A
RGBrgb(220, 218, 90)
HSLhsl(59, 65%, 61%)
HSVhsv(59, 59%, 86%)
CMYKcmyk(0%, 0.9%, 59.1%, 13.7%)
CIE-LABlab(85.05, -15.30, 61.57)
CIE-LCHlch(85.05, 63.44, 103.95°)
OKLaboklab(86.58% -0.0467 0.1412)
OKLCHoklch(86.58% 0.149 108.3)
XYZxyz(56.4338, 66.0982, 19.4564)
Luminance0.6610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA5A #5A5CDC
analogous
#DC995A #DCDA5A #9DDC5A
triadic
#DCDA5A #5ADCDA #DA5ADC
tetradic
#DCDA5A #5ADC99 #5A5CDC #DC5A9D
square
#DCDA5A #5ADC99 #5A5CDC #DC5A9D
split-complementary
#DCDA5A #5A9DDC #995ADC
monochromatic
#9B9921 #CDCB2C #DCDA5A #E7E58C #F1F1BF

Accessibility & contrast

On white

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

On black

14.22
#DCDA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA5A
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA5A#FFFFFF#000000##000000
##DCDA5A1.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcda5a;
/* rgb */ color: rgb(220, 218, 90);
/* oklch */ color: oklch(86.6% 0.149 108.3);
Tailwind
colors: {
  custom: {
    50: '#eae58e',
    500: '#dcda5a',
    950: '#000000',
  },
}
SCSS
$custom: #dcda5a;
$custom-light: #eae58e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda5a",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 90
  },
  "hsl": {
    "h": 59.077,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86581,
    "c": 0.14873,
    "h": 108.3
  },
  "luminance": 0.66097
}

Semantic roles & 50–950 ramp

primary
#DCDA5A
secondary
#3B3D9F
accent
#1BCD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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