#DFDC7E#DFDC7E

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

Color values

HEX#DFDC7E
RGBrgb(223, 220, 126)
HSLhsl(58, 60%, 68%)
HSVhsv(58, 43%, 87%)
CMYKcmyk(0%, 1.3%, 43.5%, 12.5%)
CIE-LABlab(86.20, -12.08, 46.37)
CIE-LCHlch(86.20, 47.92, 104.61°)
OKLaboklab(87.68% -0.0341 0.1116)
OKLCHoklch(87.68% 0.117 107)
XYZxyz(59.7917, 68.3822, 29.7840)
Luminance0.6838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDC7E #7E81DF
analogous
#DFAB7E #DFDC7E #B1DF7E
triadic
#DFDC7E #7EDFDC #DC7EDF
tetradic
#DFDC7E #7EDFAB #7E81DF #DF7EB1
square
#DFDC7E #7EDFAB #7E81DF #DF7EB1
split-complementary
#DFDC7E #7EB1DF #AB7EDF
monochromatic
#B6B12D #D3CF4D #DFDC7E #EBE9AF #F7F7E0

Accessibility & contrast

On white

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

On black

14.68
#DFDC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDC7E
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDC7E#FFFFFF#000000##000000
##DFDC7E1.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD576
Deuteranopia (green-blind)
#ECDA82
Tritanopia (blue-blind)
#EBD1C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #dfdc7e;
/* rgb */ color: rgb(223, 220, 126);
/* oklch */ color: oklch(87.7% 0.117 107.0);
Tailwind
colors: {
  custom: {
    50: '#eae6a5',
    500: '#dfdc7e',
    950: '#000000',
  },
}
SCSS
$custom: #dfdc7e;
$custom-light: #eae6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdc7e",
  "rgb": {
    "r": 223,
    "g": 220,
    "b": 126
  },
  "hsl": {
    "h": 58.144,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8768,
    "c": 0.11668,
    "h": 107
  },
  "luminance": 0.68381
}

Semantic roles & 50–950 ramp

primary
#DFDC7E
secondary
#4B4FB6
accent
#23C81E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFDC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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