#DCDA5F#DCDA5F

#DCDA5F is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.6% C 0.145 H 108.2°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#DCDA5F
RGBrgb(220, 218, 95)
HSLhsl(59, 64%, 62%)
HSVhsv(59, 57%, 86%)
CMYKcmyk(0%, 0.9%, 56.8%, 13.7%)
CIE-LABlab(85.09, -14.95, 59.45)
CIE-LCHlch(85.09, 61.30, 104.11°)
OKLaboklab(86.63% -0.0452 0.1373)
OKLCHoklch(86.63% 0.145 108.2)
XYZxyz(56.6538, 66.1863, 20.6151)
Luminance0.6619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA5F #5F61DC
analogous
#DC9C5F #DCDA5F #A0DC5F
triadic
#DCDA5F #5FDCDA #DA5FDC
tetradic
#DCDA5F #5FDC9C #5F61DC #DC5FA0
square
#DCDA5F #5FDC9C #5F61DC #DC5FA0
split-complementary
#DCDA5F #5FA0DC #9C5FDC
monochromatic
#9E9C23 #D0CE2E #DCDA5F #E7E691 #F2F1C3

Accessibility & contrast

On white

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

On black

14.24
#DCDA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA5F
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA5F#FFFFFF#000000##000000
##DCDA5F1.001.4814.2414.24
#FFFFFF1.481.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcda5f;
/* rgb */ color: rgb(220, 218, 95);
/* oklch */ color: oklch(86.6% 0.145 108.2);
Tailwind
colors: {
  custom: {
    50: '#e9e591',
    500: '#dcda5f',
    950: '#000000',
  },
}
SCSS
$custom: #dcda5f;
$custom-light: #e9e591;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda5f",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 95
  },
  "hsl": {
    "h": 59.04,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.86631,
    "c": 0.14457,
    "h": 108.2
  },
  "luminance": 0.66185
}

Semantic roles & 50–950 ramp

primary
#DCDA5F
secondary
#3E3FA2
accent
#1CCC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCDA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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