#DFD440#DFD440

#DFD440 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.4% C 0.161 H 105.0°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#DFD440
RGBrgb(223, 212, 64)
HSLhsl(56, 71%, 56%)
HSVhsv(56, 71%, 87%)
CMYKcmyk(0%, 4.9%, 71.3%, 12.5%)
CIE-LABlab(83.52, -12.55, 70.29)
CIE-LCHlch(83.52, 71.40, 100.13°)
OKLaboklab(85.36% -0.0418 0.1555)
OKLCHoklch(85.36% 0.161 105)
XYZxyz(54.9026, 63.1472, 14.1461)
Luminance0.6314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD440 #404BDF
analogous
#DF8540 #DFD440 #9BDF40
triadic
#DFD440 #40DFD4 #D440DF
tetradic
#DFD440 #40DF85 #404BDF #DF409B
square
#DFD440 #40DF85 #404BDF #DF409B
split-complementary
#DFD440 #409BDF #8540DF
monochromatic
#8D8518 #C1B620 #DFD440 #E8E074 #F1ECA9

Accessibility & contrast

On white

1.54
#DFD440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#DFD440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD440
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD440#FFFFFF#000000##000000
##DFD4401.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD26
Deuteranopia (green-blind)
#EAD34A
Tritanopia (blue-blind)
#EFC6B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd440;
/* rgb */ color: rgb(223, 212, 64);
/* oklch */ color: oklch(85.4% 0.161 105.0);
Tailwind
colors: {
  custom: {
    50: '#ede07e',
    500: '#dfd440',
    950: '#000000',
  },
}
SCSS
$custom: #dfd440;
$custom-light: #ede07e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd440",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 64
  },
  "hsl": {
    "h": 55.849,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85363,
    "c": 0.16106,
    "h": 105
  },
  "luminance": 0.63145
}

Semantic roles & 50–950 ramp

primary
#DFD440
secondary
#313892
accent
#46EE3A
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DFD440

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

Preview Lab → · Contrast checker → · Palette generator →

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