#DFD04E#DFD04E

#DFD04E is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.6% C 0.148 H 102.7°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#DFD04E
RGBrgb(223, 208, 78)
HSLhsl(54, 69%, 59%)
HSVhsv(54, 65%, 87%)
CMYKcmyk(0%, 6.7%, 65%, 12.5%)
CIE-LABlab(82.57, -9.81, 64.00)
CIE-LCHlch(82.57, 64.75, 98.72°)
OKLaboklab(84.64% -0.0326 0.1446)
OKLCHoklch(84.64% 0.148 102.7)
XYZxyz(54.3646, 61.3520, 16.1847)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD04E #4E5DDF
analogous
#DF884E #DFD04E #A6DF4E
triadic
#DFD04E #4EDFD0 #D04EDF
tetradic
#DFD04E #4EDF88 #4E5DDF #DF4EA6
square
#DFD04E #4EDF88 #4E5DDF #DF4EA6
split-complementary
#DFD04E #4EA6DF #884EDF
monochromatic
#978A1B #CBBA25 #DFD04E #E8DE82 #F2ECB6

Accessibility & contrast

On white

1.58
#DFD04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#DFD04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD04E
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD04E#FFFFFF#000000##000000
##DFD04E1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA3D
Deuteranopia (green-blind)
#E7D156
Tritanopia (blue-blind)
#EFC2B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfd04e;
/* rgb */ color: rgb(223, 208, 78);
/* oklch */ color: oklch(84.6% 0.148 102.7);
Tailwind
colors: {
  custom: {
    50: '#ecde86',
    500: '#dfd04e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd04e;
$custom-light: #ecde86;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd04e",
  "rgb": {
    "r": 223,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 53.793,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84636,
    "c": 0.14821,
    "h": 102.7
  },
  "luminance": 0.6135
}

Semantic roles & 50–950 ramp

primary
#DFD04E
secondary
#36409B
accent
#4EEC3C
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD04E

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

Preview Lab → · Contrast checker → · Palette generator →

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