#DFD28F#DFD28F

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

Color values

HEX#DFD28F
RGBrgb(223, 210, 143)
HSLhsl(50, 56%, 72%)
HSVhsv(50, 36%, 87%)
CMYKcmyk(0%, 5.8%, 35.9%, 12.5%)
CIE-LABlab(83.84, -5.20, 34.87)
CIE-LCHlch(83.84, 35.25, 98.48°)
OKLaboklab(85.89% -0.0129 0.0862)
OKLCHoklch(85.89% 0.087 98.5)
XYZxyz(58.4368, 63.7659, 35.2110)
Luminance0.6376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD28F #8F9CDF
analogous
#DFAA8F #DFD28F #C4DF8F
triadic
#DFD28F #8FDFD2 #D28FDF
tetradic
#DFD28F #8FDFAA #8F9CDF #DF8FC4
square
#DFD28F #8FDFAA #8F9CDF #DF8FC4
split-complementary
#DFD28F #8FC4DF #AA8FDF
monochromatic
#BDA736 #D1BF5F #DFD28F #EDE5BF #F8F5E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD28F#FFFFFF#000000##000000
##DFD28F1.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)
#DFCE8A
Deuteranopia (green-blind)
#E2D391
Tritanopia (blue-blind)
#EBC9C1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd28f;
/* rgb */ color: rgb(223, 210, 143);
/* oklch */ color: oklch(85.9% 0.087 98.5);
Tailwind
colors: {
  custom: {
    50: '#eadfb0',
    500: '#dfd28f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd28f;
$custom-light: #eadfb0;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd28f",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 143
  },
  "hsl": {
    "h": 50.25,
    "s": 55.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85893,
    "c": 0.08718,
    "h": 98.5
  },
  "luminance": 0.63764
}

Semantic roles & 50–950 ramp

primary
#DFD28F
secondary
#5B6AB7
accent
#3DC322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD28F

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

Preview Lab → · Contrast checker → · Palette generator →

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