#DCDA74#DCDA74

#DCDA74 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.9% C 0.125 H 107.7°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#DCDA74
RGBrgb(220, 218, 116)
HSLhsl(59, 60%, 66%)
HSVhsv(59, 47%, 86%)
CMYKcmyk(0%, 0.9%, 47.3%, 13.7%)
CIE-LABlab(85.31, -13.23, 50.06)
CIE-LCHlch(85.31, 51.78, 104.80°)
OKLaboklab(86.88% -0.0381 0.1191)
OKLCHoklch(86.88% 0.125 107.7)
XYZxyz(57.7403, 66.6208, 26.3371)
Luminance0.6662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCDA74 #7476DC
analogous
#DCA674 #DCDA74 #AADC74
triadic
#DCDA74 #74DCDA #DA74DC
tetradic
#DCDA74 #74DCA6 #7476DC #DC74AA
square
#DCDA74 #74DCA6 #7476DC #DC74AA
split-complementary
#DCDA74 #74AADC #A674DC
monochromatic
#ABA82B #D0CD43 #DCDA74 #E8E7A5 #F5F4D6

Accessibility & contrast

On white

1.47
#DCDA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#DCDA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCDA74
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCDA74#FFFFFF#000000##000000
##DCDA741.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D36B
Deuteranopia (green-blind)
#EAD779
Tritanopia (blue-blind)
#E9CFC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcda74;
/* rgb */ color: rgb(220, 218, 116);
/* oklch */ color: oklch(86.9% 0.125 107.7);
Tailwind
colors: {
  custom: {
    50: '#e9e59e',
    500: '#dcda74',
    950: '#000000',
  },
}
SCSS
$custom: #dcda74;
$custom-light: #e9e59e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcda74",
  "rgb": {
    "r": 220,
    "g": 218,
    "b": 116
  },
  "hsl": {
    "h": 58.846,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.86878,
    "c": 0.12504,
    "h": 107.7
  },
  "luminance": 0.66619
}

Semantic roles & 50–950 ramp

primary
#DCDA74
secondary
#4749AD
accent
#21C71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCDA74

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

Preview Lab → · Contrast checker → · Palette generator →

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