#DFD28B#DFD28B

#DFD28B is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.8% C 0.092 H 99.1°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#DFD28B
RGBrgb(223, 210, 139)
HSLhsl(51, 57%, 71%)
HSVhsv(51, 38%, 87%)
CMYKcmyk(0%, 5.8%, 37.7%, 12.5%)
CIE-LABlab(83.78, -5.66, 36.83)
CIE-LCHlch(83.78, 37.26, 98.73°)
OKLaboklab(85.82% -0.0145 0.0906)
OKLCHoklch(85.82% 0.092 99.1)
XYZxyz(58.1392, 63.6469, 33.6436)
Luminance0.6364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD28B #8B98DF
analogous
#DFA88B #DFD28B #C2DF8B
triadic
#DFD28B #8BDFD2 #D28BDF
tetradic
#DFD28B #8BDFA8 #8B98DF #DF8BC2
square
#DFD28B #8BDFA8 #8B98DF #DF8BC2
split-complementary
#DFD28B #8BC2DF #A88BDF
monochromatic
#BCA734 #D2BF5B #DFD28B #ECE5BB #F8F6E7

Accessibility & contrast

On white

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

On black

13.73
#DFD28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD28B
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD28B#FFFFFF#000000##000000
##DFD28B1.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd28b;
/* rgb */ color: rgb(223, 210, 139);
/* oklch */ color: oklch(85.8% 0.092 99.1);
Tailwind
colors: {
  custom: {
    50: '#eadfad',
    500: '#dfd28b',
    950: '#000000',
  },
}
SCSS
$custom: #dfd28b;
$custom-light: #eadfad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd28b",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 139
  },
  "hsl": {
    "h": 50.714,
    "s": 56.757,
    "l": 70.98
  },
  "oklch": {
    "l": 0.85823,
    "c": 0.09177,
    "h": 99.1
  },
  "luminance": 0.63645
}

Semantic roles & 50–950 ramp

primary
#DFD28B
secondary
#5766B7
accent
#3AC421
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD28B

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

Preview Lab → · Contrast checker → · Palette generator →

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