#DFCD54#DFCD54

#DFCD54 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.1% C 0.141 H 100.9°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#DFCD54
RGBrgb(223, 205, 84)
HSLhsl(52, 68%, 60%)
HSVhsv(52, 62%, 87%)
CMYKcmyk(0%, 8.1%, 62.3%, 12.5%)
CIE-LABlab(81.83, -7.93, 60.72)
CIE-LCHlch(81.83, 61.23, 97.44°)
OKLaboklab(84.07% -0.0266 0.1385)
OKLCHoklch(84.07% 0.141 100.9)
XYZxyz(53.8651, 59.9930, 17.1283)
Luminance0.5999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCD54 #5466DF
analogous
#DF8754 #DFCD54 #ACDF54
triadic
#DFCD54 #54DFCD #CD54DF
tetradic
#DFCD54 #54DF87 #5466DF #DF54AC
square
#DFCD54 #54DF87 #5466DF #DF54AC
split-complementary
#DFCD54 #54ACDF #8754DF
monochromatic
#9C8B1D #CFB927 #DFCD54 #E9DC88 #F2EBBB

Accessibility & contrast

On white

1.62
#DFCD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#DFCD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCD54
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCD54#FFFFFF#000000##000000
##DFCD541.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC746
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#EFBFB3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #dfcd54;
/* rgb */ color: rgb(223, 205, 84);
/* oklch */ color: oklch(84.1% 0.141 100.9);
Tailwind
colors: {
  custom: {
    50: '#ecdc89',
    500: '#dfcd54',
    950: '#000000',
  },
}
SCSS
$custom: #dfcd54;
$custom-light: #ecdc89;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcd54",
  "rgb": {
    "r": 223,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 52.23,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84069,
    "c": 0.14104,
    "h": 100.9
  },
  "luminance": 0.59991
}

Semantic roles & 50–950 ramp

primary
#DFCD54
secondary
#38459F
accent
#2DD015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFCD54

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

Preview Lab → · Contrast checker → · Palette generator →

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