#DFD58D#DFD58D

#DFD58D is a very light, moderate yellow. Relative luminance 0.652; OKLCH L 86.5% C 0.093 H 101.3°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#DFD58D
RGBrgb(223, 213, 141)
HSLhsl(53, 56%, 71%)
HSVhsv(53, 37%, 87%)
CMYKcmyk(0%, 4.5%, 36.8%, 12.5%)
CIE-LABlab(84.59, -6.96, 36.86)
CIE-LCHlch(84.59, 37.51, 100.70°)
OKLaboklab(86.47% -0.0181 0.0908)
OKLCHoklch(86.47% 0.093 101.3)
XYZxyz(59.0343, 65.2011, 34.6694)
Luminance0.6520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD58D #8D97DF
analogous
#DFAC8D #DFD58D #C0DF8D
triadic
#DFD58D #8DDFD5 #D58DDF
tetradic
#DFD58D #8DDFAC #8D97DF #DF8DC0
square
#DFD58D #8DDFAC #8D97DF #DF8DC0
split-complementary
#DFD58D #8DC0DF #AC8DDF
monochromatic
#BDAC35 #D2C35D #DFD58D #ECE7BD #F8F6E7

Accessibility & contrast

On white

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

On black

14.04
#DFD58D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD58D
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD58D#FFFFFF#000000##000000
##DFD58D1.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D088
Deuteranopia (green-blind)
#E5D590
Tritanopia (blue-blind)
#EBCCC3
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dfd58d;
/* rgb */ color: rgb(223, 213, 141);
/* oklch */ color: oklch(86.5% 0.093 101.3);
Tailwind
colors: {
  custom: {
    50: '#eae1af',
    500: '#dfd58d',
    950: '#000000',
  },
}
SCSS
$custom: #dfd58d;
$custom-light: #eae1af;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd58d",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 141
  },
  "hsl": {
    "h": 52.683,
    "s": 56.164,
    "l": 71.373
  },
  "oklch": {
    "l": 0.86471,
    "c": 0.09255,
    "h": 101.3
  },
  "luminance": 0.652
}

Semantic roles & 50–950 ramp

primary
#DFD58D
secondary
#5965B7
accent
#36C422
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD58D

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

Preview Lab → · Contrast checker → · Palette generator →

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