#DFD57E#DFD57E

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

Color values

HEX#DFD57E
RGBrgb(223, 213, 126)
HSLhsl(54, 60%, 68%)
HSVhsv(54, 43%, 87%)
CMYKcmyk(0%, 4.5%, 43.5%, 12.5%)
CIE-LABlab(84.37, -8.56, 44.10)
CIE-LCHlch(84.37, 44.93, 100.98°)
OKLaboklab(86.23% -0.0239 0.1065)
OKLCHoklch(86.23% 0.109 102.7)
XYZxyz(57.9928, 64.7845, 29.1844)
Luminance0.6478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD57E #7E88DF
analogous
#DFA47E #DFD57E #B8DF7E
triadic
#DFD57E #7EDFD5 #D57EDF
tetradic
#DFD57E #7EDFA4 #7E88DF #DF7EB8
square
#DFD57E #7EDFA4 #7E88DF #DF7EB8
split-complementary
#DFD57E #7EB8DF #A47EDF
monochromatic
#B6A72D #D3C54D #DFD57E #EBE5AF #F7F5E0

Accessibility & contrast

On white

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

On black

13.96
#DFD57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD57E
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD57E#FFFFFF#000000##000000
##DFD57E1.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd57e;
/* rgb */ color: rgb(223, 213, 126);
/* oklch */ color: oklch(86.2% 0.109 102.7);
Tailwind
colors: {
  custom: {
    50: '#eae1a5',
    500: '#dfd57e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd57e;
$custom-light: #eae1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd57e",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 126
  },
  "hsl": {
    "h": 53.814,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86231,
    "c": 0.10917,
    "h": 102.7
  },
  "luminance": 0.64783
}

Semantic roles & 50–950 ramp

primary
#DFD57E
secondary
#4B56B6
accent
#2FC81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD57E

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

Preview Lab → · Contrast checker → · Palette generator →

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