#DFDC5F#DFDC5F

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

Color values

HEX#DFDC5F
RGBrgb(223, 220, 95)
HSLhsl(59, 67%, 62%)
HSVhsv(59, 57%, 87%)
CMYKcmyk(0%, 1.3%, 57.4%, 12.5%)
CIE-LABlab(85.86, -14.72, 60.37)
CIE-LCHlch(85.86, 62.14, 103.70°)
OKLaboklab(87.3% -0.0447 0.1392)
OKLCHoklch(87.3% 0.146 107.8)
XYZxyz(58.0919, 67.7023, 20.8320)
Luminance0.6770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC5F #5F62DF
analogous
#DF9C5F #DFDC5F #A2DF5F
triadic
#DFDC5F #5FDFDC #DC5FDF
tetradic
#DFDC5F #5FDF9C #5F62DF #DF5FA2
square
#DFDC5F #5FDF9C #5F62DF #DF5FA2
split-complementary
#DFDC5F #5FA2DF #9C5FDF
monochromatic
#A3A021 #D5D12C #DFDC5F #E9E792 #F3F2C5

Accessibility & contrast

On white

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

On black

14.54
#DFDC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC5F
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC5F#FFFFFF#000000##000000
##DFDC5F1.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfdc5f;
/* rgb */ color: rgb(223, 220, 95);
/* oklch */ color: oklch(87.3% 0.146 107.8);
Tailwind
colors: {
  custom: {
    50: '#ece691',
    500: '#dfdc5f',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc5f;
$custom-light: #ece691;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc5f",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 58.594,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87299,
    "c": 0.14623,
    "h": 107.8
  },
  "luminance": 0.67701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFDC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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