#DFD28C#DFD28C

#DFD28C is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 85.8% C 0.091 H 99.0°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#DFD28C
RGBrgb(223, 210, 140)
HSLhsl(51, 56%, 71%)
HSVhsv(51, 37%, 87%)
CMYKcmyk(0%, 5.8%, 37.2%, 12.5%)
CIE-LABlab(83.80, -5.54, 36.34)
CIE-LCHlch(83.80, 36.76, 98.67°)
OKLaboklab(85.84% -0.0141 0.0895)
OKLCHoklch(85.84% 0.091 99)
XYZxyz(58.2126, 63.6763, 34.0301)
Luminance0.6368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD28C #8C99DF
analogous
#DFA88C #DFD28C #C2DF8C
triadic
#DFD28C #8CDFD2 #D28CDF
tetradic
#DFD28C #8CDFA8 #8C99DF #DF8CC2
square
#DFD28C #8CDFA8 #8C99DF #DF8CC2
split-complementary
#DFD28C #8CC2DF #A88CDF
monochromatic
#BCA734 #D2BF5C #DFD28C #ECE5BC #F8F6E7

Accessibility & contrast

On white

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

On black

13.74
#DFD28C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD28C
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD28C#FFFFFF#000000##000000
##DFD28C1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCE87
Deuteranopia (green-blind)
#E3D38F
Tritanopia (blue-blind)
#EBC8C0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd28c;
/* rgb */ color: rgb(223, 210, 140);
/* oklch */ color: oklch(85.8% 0.091 99.0);
Tailwind
colors: {
  custom: {
    50: '#eadfae',
    500: '#dfd28c',
    950: '#000000',
  },
}
SCSS
$custom: #dfd28c;
$custom-light: #eadfae;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd28c",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 140
  },
  "hsl": {
    "h": 50.602,
    "s": 56.463,
    "l": 71.176
  },
  "oklch": {
    "l": 0.8584,
    "c": 0.09062,
    "h": 99
  },
  "luminance": 0.63675
}

Semantic roles & 50–950 ramp

primary
#DFD28C
secondary
#5867B7
accent
#3BC421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD28C

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

Preview Lab → · Contrast checker → · Palette generator →

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