#DCD54F#DCD54F

#DCD54F is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.4% C 0.152 H 106.3°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#DCD54F
RGBrgb(220, 213, 79)
HSLhsl(57, 67%, 59%)
HSVhsv(57, 64%, 86%)
CMYKcmyk(0%, 3.2%, 64.1%, 13.7%)
CIE-LABlab(83.64, -13.51, 64.64)
CIE-LCHlch(83.64, 66.03, 101.81°)
OKLaboklab(85.43% -0.0428 0.1462)
OKLCHoklch(85.43% 0.152 106.3)
XYZxyz(54.7227, 63.3705, 16.7448)
Luminance0.6337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD54F #4F56DC
analogous
#DC8E4F #DCD54F #9CDC4F
triadic
#DCD54F #4FDCD5 #D54FDC
tetradic
#DCD54F #4FDC8E #4F56DC #DC4F9C
square
#DCD54F #4FDC8E #4F56DC #DC4F9C
split-complementary
#DCD54F #4F9CDC #8E4FDC
monochromatic
#938D1D #C6BE27 #DCD54F #E6E182 #F0EDB5

Accessibility & contrast

On white

1.54
#DCD54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#DCD54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD54F
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD54F#FFFFFF#000000##000000
##DCD54F1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3E
Deuteranopia (green-blind)
#E9D357
Tritanopia (blue-blind)
#EBC8B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd54f;
/* rgb */ color: rgb(220, 213, 79);
/* oklch */ color: oklch(85.4% 0.152 106.3);
Tailwind
colors: {
  custom: {
    50: '#eae187',
    500: '#dcd54f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd54f;
$custom-light: #eae187;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd54f",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 57.021,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85429,
    "c": 0.15229,
    "h": 106.3
  },
  "luminance": 0.63369
}

Semantic roles & 50–950 ramp

primary
#DCD54F
secondary
#373C98
accent
#47EA3E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DCD54F

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

Preview Lab → · Contrast checker → · Palette generator →

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