#DFD28E#DFD28E

#DFD28E is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 85.9% C 0.088 H 98.7°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#DFD28E
RGBrgb(223, 210, 142)
HSLhsl(50, 56%, 72%)
HSVhsv(50, 36%, 87%)
CMYKcmyk(0%, 5.8%, 36.3%, 12.5%)
CIE-LABlab(83.83, -5.32, 35.36)
CIE-LCHlch(83.83, 35.75, 98.55°)
OKLaboklab(85.88% -0.0133 0.0873)
OKLCHoklch(85.88% 0.088 98.7)
XYZxyz(58.3614, 63.7358, 34.8139)
Luminance0.6373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD28E #8E9BDF
analogous
#DFAA8E #DFD28E #C4DF8E
triadic
#DFD28E #8EDFD2 #D28EDF
tetradic
#DFD28E #8EDFAA #8E9BDF #DF8EC4
square
#DFD28E #8EDFAA #8E9BDF #DF8EC4
split-complementary
#DFD28E #8EC4DF #AA8EDF
monochromatic
#BDA736 #D1BF5E #DFD28E #EDE5BE #F8F6E7

Accessibility & contrast

On white

1.53
#DFD28E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#DFD28E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD28E
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD28E#FFFFFF#000000##000000
##DFD28E1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCE89
Deuteranopia (green-blind)
#E2D391
Tritanopia (blue-blind)
#EBC9C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd28e;
/* rgb */ color: rgb(223, 210, 142);
/* oklch */ color: oklch(85.9% 0.088 98.7);
Tailwind
colors: {
  custom: {
    50: '#eadfb0',
    500: '#dfd28e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd28e;
$custom-light: #eadfb0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd28e",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 142
  },
  "hsl": {
    "h": 50.37,
    "s": 55.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.85875,
    "c": 0.08833,
    "h": 98.7
  },
  "luminance": 0.63734
}

Semantic roles & 50–950 ramp

primary
#DFD28E
secondary
#5A69B7
accent
#3CC322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD28E

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

Preview Lab → · Contrast checker → · Palette generator →

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