#DCDA4E#DCDA4E

#DCDA4E is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.5% C 0.158 H 108.5°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#DCDA4E
RGBrgb(220, 218, 78)
HSLhsl(59, 67%, 58%)
HSVhsv(59, 65%, 86%)
CMYKcmyk(0%, 0.9%, 64.5%, 13.7%)
CIE-LABlab(84.95, -16.06, 66.40)
CIE-LCHlch(84.95, 68.31, 103.59°)
OKLaboklab(86.47% -0.0501 0.1497)
OKLCHoklch(86.47% 0.158 108.5)
XYZxyz(55.9636, 65.9102, 16.9802)
Luminance0.6591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA4E #4E50DC
analogous
#DC934E #DCDA4E #97DC4E
triadic
#DCDA4E #4EDCDA #DA4EDC
tetradic
#DCDA4E #4EDC93 #4E50DC #DC4E97
square
#DCDA4E #4EDC93 #4E50DC #DC4E97
split-complementary
#DCDA4E #4E97DC #934EDC
monochromatic
#93911D #C6C327 #DCDA4E #E6E581 #F0EFB4

Accessibility & contrast

On white

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

On black

14.18
#DCDA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA4E
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA4E#FFFFFF#000000##000000
##DCDA4E1.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13B
Deuteranopia (green-blind)
#EDD657
Tritanopia (blue-blind)
#EBCDBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcda4e;
/* rgb */ color: rgb(220, 218, 78);
/* oklch */ color: oklch(86.5% 0.158 108.5);
Tailwind
colors: {
  custom: {
    50: '#eae587',
    500: '#dcda4e',
    950: '#000000',
  },
}
SCSS
$custom: #dcda4e;
$custom-light: #eae587;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda4e",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 78
  },
  "hsl": {
    "h": 59.155,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.86473,
    "c": 0.15789,
    "h": 108.5
  },
  "luminance": 0.65909
}

Semantic roles & 50–950 ramp

primary
#DCDA4E
secondary
#373897
accent
#40EA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCDA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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