#DFDC5D#DFDC5D

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

Color values

HEX#DFDC5D
RGBrgb(223, 220, 93)
HSLhsl(59, 67%, 62%)
HSVhsv(59, 58%, 87%)
CMYKcmyk(0%, 1.3%, 58.3%, 12.5%)
CIE-LABlab(85.84, -14.86, 61.22)
CIE-LCHlch(85.84, 63.00, 103.64°)
OKLaboklab(87.28% -0.0453 0.1408)
OKLCHoklch(87.28% 0.148 107.8)
XYZxyz(58.0022, 67.6664, 20.3594)
Luminance0.6766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC5D #5D60DF
analogous
#DF9B5D #DFDC5D #A1DF5D
triadic
#DFDC5D #5DDFDC #DC5DDF
tetradic
#DFDC5D #5DDF9B #5D60DF #DF5DA1
square
#DFDC5D #5DDF9B #5D60DF #DF5DA1
split-complementary
#DFDC5D #5DA1DF #9B5DDF
monochromatic
#A29F20 #D5D12A #DFDC5D #E9E790 #F3F2C3

Accessibility & contrast

On white

1.44
#DFDC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFDC5D#FFFFFF#000000##000000
##DFDC5D1.001.4414.5314.53
#FFFFFF1.441.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfdc5d;
/* rgb */ color: rgb(223, 220, 93);
/* oklch */ color: oklch(87.3% 0.148 107.8);
Tailwind
colors: {
  custom: {
    50: '#ece690',
    500: '#dfdc5d',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc5d;
$custom-light: #ece690;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc5d",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 58.615,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87279,
    "c": 0.14789,
    "h": 107.8
  },
  "luminance": 0.67665
}

Semantic roles & 50–950 ramp

primary
#DFDC5D
secondary
#3C3EA5
accent
#1BCF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFDC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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