#DFDC7D#DFDC7D

#DFDC7D is a very light, moderate yellow. Relative luminance 0.684; OKLCH L 87.7% C 0.118 H 107.0°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#DFDC7D
RGBrgb(223, 220, 125)
HSLhsl(58, 60%, 68%)
HSVhsv(58, 44%, 87%)
CMYKcmyk(0%, 1.3%, 43.9%, 12.5%)
CIE-LABlab(86.18, -12.18, 46.84)
CIE-LCHlch(86.18, 48.40, 104.58°)
OKLaboklab(87.67% -0.0344 0.1126)
OKLCHoklch(87.67% 0.118 107)
XYZxyz(59.7275, 68.3565, 29.4459)
Luminance0.6835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC7D #7D80DF
analogous
#DFAB7D #DFDC7D #B1DF7D
triadic
#DFDC7D #7DDFDC #DC7DDF
tetradic
#DFDC7D #7DDFAB #7D80DF #DF7DB1
square
#DFDC7D #7DDFAB #7D80DF #DF7DB1
split-complementary
#DFDC7D #7DB1DF #AB7DDF
monochromatic
#B5B12D #D3CF4C #DFDC7D #EBE9AE #F7F6DF

Accessibility & contrast

On white

1.43
#DFDC7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#DFDC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC7D
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC7D#FFFFFF#000000##000000
##DFDC7D1.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD575
Deuteranopia (green-blind)
#ECDA81
Tritanopia (blue-blind)
#ECD1C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dfdc7d;
/* rgb */ color: rgb(223, 220, 125);
/* oklch */ color: oklch(87.7% 0.118 107.0);
Tailwind
colors: {
  custom: {
    50: '#ebe6a4',
    500: '#dfdc7d',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc7d;
$custom-light: #ebe6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc7d",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 125
  },
  "hsl": {
    "h": 58.163,
    "s": 60.494,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87665,
    "c": 0.11774,
    "h": 107
  },
  "luminance": 0.68355
}

Semantic roles & 50–950 ramp

primary
#DFDC7D
secondary
#4A4EB6
accent
#23C81D
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFDC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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