#DFD57D#DFD57D

#DFD57D is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.2% C 0.110 H 102.7°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#DFD57D
RGBrgb(223, 213, 125)
HSLhsl(54, 60%, 68%)
HSVhsv(54, 44%, 87%)
CMYKcmyk(0%, 4.5%, 43.9%, 12.5%)
CIE-LABlab(84.36, -8.66, 44.58)
CIE-LCHlch(84.36, 45.41, 100.99°)
OKLaboklab(86.22% -0.0243 0.1075)
OKLCHoklch(86.22% 0.11 102.7)
XYZxyz(57.9286, 64.7588, 28.8463)
Luminance0.6476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD57D #7D87DF
analogous
#DFA47D #DFD57D #B8DF7D
triadic
#DFD57D #7DDFD5 #D57DDF
tetradic
#DFD57D #7DDFA4 #7D87DF #DF7DB8
square
#DFD57D #7DDFA4 #7D87DF #DF7DB8
split-complementary
#DFD57D #7DB8DF #A47DDF
monochromatic
#B5A72D #D3C54C #DFD57D #EBE5AE #F7F5DF

Accessibility & contrast

On white

1.51
#DFD57D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#DFD57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD57D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD57D#FFFFFF#000000##000000
##DFD57D1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D076
Deuteranopia (green-blind)
#E7D581
Tritanopia (blue-blind)
#ECCAC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dfd57d;
/* rgb */ color: rgb(223, 213, 125);
/* oklch */ color: oklch(86.2% 0.110 102.7);
Tailwind
colors: {
  custom: {
    50: '#eae1a4',
    500: '#dfd57d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd57d;
$custom-light: #eae1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd57d",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 125
  },
  "hsl": {
    "h": 53.878,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86216,
    "c": 0.11024,
    "h": 102.7
  },
  "luminance": 0.64757
}

Semantic roles & 50–950 ramp

primary
#DFD57D
secondary
#4A55B6
accent
#2FC81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD57D

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

Preview Lab → · Contrast checker → · Palette generator →

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