#DFD754#DFD754

#DFD754 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.150 H 105.8°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#DFD754
RGBrgb(223, 215, 84)
HSLhsl(57, 68%, 60%)
HSVhsv(57, 62%, 87%)
CMYKcmyk(0%, 3.6%, 62.3%, 12.5%)
CIE-LABlab(84.45, -12.97, 63.52)
CIE-LCHlch(84.45, 64.83, 101.54°)
OKLaboklab(86.15% -0.0409 0.1445)
OKLCHoklch(86.15% 0.15 105.8)
XYZxyz(56.3341, 64.9309, 17.9512)
Luminance0.6493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD754 #545CDF
analogous
#DF9254 #DFD754 #A1DF54
triadic
#DFD754 #54DFD7 #D754DF
tetradic
#DFD754 #54DF92 #545CDF #DF54A1
square
#DFD754 #54DF92 #545CDF #DF54A1
split-complementary
#DFD754 #54A1DF #9254DF
monochromatic
#9C941D #CFC527 #DFD754 #E9E388 #F2EFBB

Accessibility & contrast

On white

1.50
#DFD754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#DFD754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD754
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD754#FFFFFF#000000##000000
##DFD7541.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D044
Deuteranopia (green-blind)
#ECD55C
Tritanopia (blue-blind)
#EECABC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd754;
/* rgb */ color: rgb(223, 215, 84);
/* oklch */ color: oklch(86.1% 0.150 105.8);
Tailwind
colors: {
  custom: {
    50: '#ece38a',
    500: '#dfd754',
    950: '#000000',
  },
}
SCSS
$custom: #dfd754;
$custom-light: #ece38a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd754",
  "rgb": {
    "r": 223,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 56.547,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86146,
    "c": 0.15013,
    "h": 105.8
  },
  "luminance": 0.64929
}

Semantic roles & 50–950 ramp

primary
#DFD754
secondary
#383E9F
accent
#20D015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD754

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

Preview Lab → · Contrast checker → · Palette generator →

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