#DFD28A#DFD28A

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

Color values

HEX#DFD28A
RGBrgb(223, 210, 138)
HSLhsl(51, 57%, 71%)
HSVhsv(51, 38%, 87%)
CMYKcmyk(0%, 5.8%, 38.1%, 12.5%)
CIE-LABlab(83.77, -5.77, 37.32)
CIE-LCHlch(83.77, 37.76, 98.79°)
OKLaboklab(85.81% -0.0149 0.0917)
OKLCHoklch(85.81% 0.093 99.2)
XYZxyz(58.0665, 63.6178, 33.2605)
Luminance0.6362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD28A #8A97DF
analogous
#DFA78A #DFD28A #C1DF8A
triadic
#DFD28A #8ADFD2 #D28ADF
tetradic
#DFD28A #8ADFA7 #8A97DF #DF8AC1
square
#DFD28A #8ADFA7 #8A97DF #DF8AC1
split-complementary
#DFD28A #8AC1DF #A78ADF
monochromatic
#BBA733 #D2C05A #DFD28A #ECE4BA #F8F6E7

Accessibility & contrast

On white

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

On black

13.72
#DFD28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD28A
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD28A#FFFFFF#000000##000000
##DFD28A1.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfd28a;
/* rgb */ color: rgb(223, 210, 138);
/* oklch */ color: oklch(85.8% 0.093 99.2);
Tailwind
colors: {
  custom: {
    50: '#eadfad',
    500: '#dfd28a',
    950: '#000000',
  },
}
SCSS
$custom: #dfd28a;
$custom-light: #eadfad;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd28a",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 138
  },
  "hsl": {
    "h": 50.824,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.85806,
    "c": 0.0929,
    "h": 99.2
  },
  "luminance": 0.63616
}

Semantic roles & 50–950 ramp

primary
#DFD28A
secondary
#5765B7
accent
#3AC521
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DFD28A

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

Preview Lab → · Contrast checker → · Palette generator →

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