#DFD57F#DFD57F

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

Color values

HEX#DFD57F
RGBrgb(223, 213, 127)
HSLhsl(54, 60%, 69%)
HSVhsv(54, 43%, 87%)
CMYKcmyk(0%, 4.5%, 43%, 12.5%)
CIE-LABlab(84.39, -8.46, 43.63)
CIE-LCHlch(84.39, 44.44, 100.97°)
OKLaboklab(86.25% -0.0236 0.1055)
OKLCHoklch(86.25% 0.108 102.6)
XYZxyz(58.0577, 64.8104, 29.5259)
Luminance0.6481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD57F #7F89DF
analogous
#DFA57F #DFD57F #B9DF7F
triadic
#DFD57F #7FDFD5 #D57FDF
tetradic
#DFD57F #7FDFA5 #7F89DF #DF7FB9
square
#DFD57F #7FDFA5 #7F89DF #DF7FB9
split-complementary
#DFD57F #7FB9DF #A57FDF
monochromatic
#B6A82E #D3C54E #DFD57F #EBE5B0 #F7F5E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD57F#FFFFFF#000000##000000
##DFD57F1.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)
#E3D078
Deuteranopia (green-blind)
#E7D583
Tritanopia (blue-blind)
#ECCAC0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd57f;
/* rgb */ color: rgb(223, 213, 127);
/* oklch */ color: oklch(86.2% 0.108 102.6);
Tailwind
colors: {
  custom: {
    50: '#eae1a5',
    500: '#dfd57f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd57f;
$custom-light: #eae1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd57f",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 127
  },
  "hsl": {
    "h": 53.75,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86246,
    "c": 0.10811,
    "h": 102.6
  },
  "luminance": 0.64809
}

Semantic roles & 50–950 ramp

primary
#DFD57F
secondary
#4C57B6
accent
#30C81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD57F

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

Preview Lab → · Contrast checker → · Palette generator →

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