#DFD55D#DFD55D

#DFD55D is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.8% C 0.141 H 104.5°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#DFD55D
RGBrgb(223, 213, 93)
HSLhsl(55, 67%, 62%)
HSVhsv(55, 58%, 87%)
CMYKcmyk(0%, 4.5%, 58.3%, 12.5%)
CIE-LABlab(84.00, -11.37, 59.18)
CIE-LCHlch(84.00, 60.27, 100.87°)
OKLaboklab(85.82% -0.0354 0.1364)
OKLCHoklch(85.82% 0.141 104.5)
XYZxyz(56.2033, 64.0687, 19.7597)
Luminance0.6407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD55D #5D67DF
analogous
#DF945D #DFD55D #A8DF5D
triadic
#DFD55D #5DDFD5 #D55DDF
tetradic
#DFD55D #5DDF94 #5D67DF #DF5DA8
square
#DFD55D #5DDF94 #5D67DF #DF5DA8
split-complementary
#DFD55D #5DA8DF #945DDF
monochromatic
#A29820 #D5C82A #DFD55D #E9E290 #F3EFC3

Accessibility & contrast

On white

1.52
#DFD55D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#DFD55D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD55D
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD55D#FFFFFF#000000##000000
##DFD55D1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE50
Deuteranopia (green-blind)
#E9D463
Tritanopia (blue-blind)
#EEC8BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd55d;
/* rgb */ color: rgb(223, 213, 93);
/* oklch */ color: oklch(85.8% 0.141 104.5);
Tailwind
colors: {
  custom: {
    50: '#ece18f',
    500: '#dfd55d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd55d;
$custom-light: #ece18f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd55d",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 93
  },
  "hsl": {
    "h": 55.385,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85816,
    "c": 0.14096,
    "h": 104.5
  },
  "luminance": 0.64067
}

Semantic roles & 50–950 ramp

primary
#DFD55D
secondary
#3C44A5
accent
#25CF17
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #DFD55D

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

Preview Lab → · Contrast checker → · Palette generator →

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