#DCDA5B#DCDA5B

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

Color values

HEX#DCDA5B
RGBrgb(220, 218, 91)
HSLhsl(59, 65%, 61%)
HSVhsv(59, 59%, 86%)
CMYKcmyk(0%, 0.9%, 58.6%, 13.7%)
CIE-LABlab(85.06, -15.23, 61.15)
CIE-LCHlch(85.06, 63.02, 103.99°)
OKLaboklab(86.59% -0.0464 0.1405)
OKLCHoklch(86.59% 0.148 108.3)
XYZxyz(56.4766, 66.1154, 19.6820)
Luminance0.6611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA5B #5B5DDC
analogous
#DC995B #DCDA5B #9DDC5B
triadic
#DCDA5B #5BDCDA #DA5BDC
tetradic
#DCDA5B #5BDC99 #5B5DDC #DC5B9D
square
#DCDA5B #5BDC99 #5B5DDC #DC5B9D
split-complementary
#DCDA5B #5B9DDC #995BDC
monochromatic
#9B9A21 #CECB2C #DCDA5B #E7E58D #F2F1C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCDA5B#FFFFFF#000000##000000
##DCDA5B1.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)
#EAD24D
Deuteranopia (green-blind)
#ECD762
Tritanopia (blue-blind)
#EACDBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcda5b;
/* rgb */ color: rgb(220, 218, 91);
/* oklch */ color: oklch(86.6% 0.148 108.3);
Tailwind
colors: {
  custom: {
    50: '#eae58e',
    500: '#dcda5b',
    950: '#000000',
  },
}
SCSS
$custom: #dcda5b;
$custom-light: #eae58e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda5b",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 91
  },
  "hsl": {
    "h": 59.07,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8659,
    "c": 0.14792,
    "h": 108.3
  },
  "luminance": 0.66114
}

Semantic roles & 50–950 ramp

primary
#DCDA5B
secondary
#3C3D9F
accent
#1CCD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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