#DFDC5C#DFDC5C

#DFDC5C is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.3% C 0.149 H 107.9°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#DFDC5C
RGBrgb(223, 220, 92)
HSLhsl(59, 67%, 62%)
HSVhsv(59, 59%, 87%)
CMYKcmyk(0%, 1.3%, 58.7%, 12.5%)
CIE-LABlab(85.83, -14.93, 61.64)
CIE-LCHlch(85.83, 63.42, 103.61°)
OKLaboklab(87.27% -0.0456 0.1416)
OKLCHoklch(87.27% 0.149 107.9)
XYZxyz(57.9582, 67.6488, 20.1276)
Luminance0.6765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC5C #5C5FDF
analogous
#DF9B5C #DFDC5C #A1DF5C
triadic
#DFDC5C #5CDFDC #DC5CDF
tetradic
#DFDC5C #5CDF9B #5C5FDF #DF5CA1
square
#DFDC5C #5CDF9B #5C5FDF #DF5CA1
split-complementary
#DFDC5C #5CA1DF #9B5CDF
monochromatic
#A19E20 #D4D02A #DFDC5C #E9E78F #F3F2C2

Accessibility & contrast

On white

1.45
#DFDC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#DFDC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC5C
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC5C#FFFFFF#000000##000000
##DFDC5C1.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44E
Deuteranopia (green-blind)
#EFD963
Tritanopia (blue-blind)
#EECFC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #dfdc5c;
/* rgb */ color: rgb(223, 220, 92);
/* oklch */ color: oklch(87.3% 0.149 107.9);
Tailwind
colors: {
  custom: {
    50: '#ece68f',
    500: '#dfdc5c',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc5c;
$custom-light: #ece68f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc5c",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 58.626,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.87269,
    "c": 0.14872,
    "h": 107.9
  },
  "luminance": 0.67647
}

Semantic roles & 50–950 ramp

primary
#DFDC5C
secondary
#3B3EA4
accent
#1BCF16
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFDC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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