#DFD281#DFD281

#DFD281 is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.103 H 100.3°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#DFD281
RGBrgb(223, 210, 129)
HSLhsl(52, 59%, 69%)
HSVhsv(52, 42%, 87%)
CMYKcmyk(0%, 5.8%, 42.2%, 12.5%)
CIE-LABlab(83.64, -6.73, 41.69)
CIE-LCHlch(83.64, 42.23, 99.17°)
OKLaboklab(85.66% -0.0184 0.1013)
OKLCHoklch(85.66% 0.103 100.3)
XYZxyz(57.4417, 63.3679, 29.9700)
Luminance0.6337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD281 #818EDF
analogous
#DFA381 #DFD281 #BDDF81
triadic
#DFD281 #81DFD2 #D281DF
tetradic
#DFD281 #81DFA3 #818EDF #DF81BD
square
#DFD281 #81DFA3 #818EDF #DF81BD
split-complementary
#DFD281 #81BDDF #A381DF
monochromatic
#B7A42F #D3C150 #DFD281 #EBE3B2 #F8F5E3

Accessibility & contrast

On white

1.54
#DFD281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#DFD281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD281
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD281#FFFFFF#000000##000000
##DFD2811.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD7B
Deuteranopia (green-blind)
#E4D384
Tritanopia (blue-blind)
#ECC8BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd281;
/* rgb */ color: rgb(223, 210, 129);
/* oklch */ color: oklch(85.7% 0.103 100.3);
Tailwind
colors: {
  custom: {
    50: '#eadfa7',
    500: '#dfd281',
    950: '#000000',
  },
}
SCSS
$custom: #dfd281;
$custom-light: #eadfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd281",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 129
  },
  "hsl": {
    "h": 51.702,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8566,
    "c": 0.10291,
    "h": 100.3
  },
  "luminance": 0.63366
}

Semantic roles & 50–950 ramp

primary
#DFD281
secondary
#4E5CB6
accent
#36C71E
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD281

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

Preview Lab → · Contrast checker → · Palette generator →

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