#DCD74E#DCD74E

#DCD74E is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.8% C 0.155 H 107.2°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#DCD74E
RGBrgb(220, 215, 78)
HSLhsl(58, 67%, 58%)
HSVhsv(58, 65%, 86%)
CMYKcmyk(0%, 2.3%, 64.5%, 13.7%)
CIE-LABlab(84.16, -14.57, 65.58)
CIE-LCHlch(84.16, 67.18, 102.53°)
OKLaboklab(85.84% -0.0459 0.148)
OKLCHoklch(85.84% 0.155 107.2)
XYZxyz(55.1927, 64.3684, 16.7232)
Luminance0.6437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD74E #4E53DC
analogous
#DC904E #DCD74E #9ADC4E
triadic
#DCD74E #4EDCD7 #D74EDC
tetradic
#DCD74E #4EDC90 #4E53DC #DC4E9A
square
#DCD74E #4EDC90 #4E53DC #DC4E9A
split-complementary
#DCD74E #4E9ADC #904EDC
monochromatic
#938E1D #C6C027 #DCD74E #E6E381 #F0EEB4

Accessibility & contrast

On white

1.51
#DCD74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#DCD74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD74E
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD74E#FFFFFF#000000##000000
##DCD74E1.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3C
Deuteranopia (green-blind)
#EBD457
Tritanopia (blue-blind)
#EBCABB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd74e;
/* rgb */ color: rgb(220, 215, 78);
/* oklch */ color: oklch(85.8% 0.155 107.2);
Tailwind
colors: {
  custom: {
    50: '#eae386',
    500: '#dcd74e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd74e;
$custom-light: #eae386;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd74e",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 57.887,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85841,
    "c": 0.15494,
    "h": 107.2
  },
  "luminance": 0.64367
}

Semantic roles & 50–950 ramp

primary
#DCD74E
secondary
#373A97
accent
#44EA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD74E

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

Preview Lab → · Contrast checker → · Palette generator →

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