#DFD279#DFD279

#DFD279 is a very light, moderate yellow. Relative luminance 0.632; OKLCH L 85.5% C 0.111 H 101.1°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#DFD279
RGBrgb(223, 210, 121)
HSLhsl(52, 61%, 67%)
HSVhsv(52, 46%, 87%)
CMYKcmyk(0%, 5.8%, 45.7%, 12.5%)
CIE-LABlab(83.53, -7.53, 45.52)
CIE-LCHlch(83.53, 46.14, 99.39°)
OKLaboklab(85.54% -0.0214 0.1094)
OKLCHoklch(85.54% 0.111 101.1)
XYZxyz(56.9306, 63.1635, 27.2783)
Luminance0.6316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD279 #7986DF
analogous
#DF9F79 #DFD279 #B9DF79
triadic
#DFD279 #79DFD2 #D279DF
tetradic
#DFD279 #79DF9F #7986DF #DF79B9
square
#DFD279 #79DF9F #7986DF #DF79B9
split-complementary
#DFD279 #79B9DF #9F79DF
monochromatic
#B3A22B #D3C148 #DFD279 #EBE3AA #F7F3DC

Accessibility & contrast

On white

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

On black

13.63
#DFD279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD279
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD279#FFFFFF#000000##000000
##DFD2791.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD72
Deuteranopia (green-blind)
#E5D37D
Tritanopia (blue-blind)
#ECC7BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd279;
/* rgb */ color: rgb(223, 210, 121);
/* oklch */ color: oklch(85.5% 0.111 101.1);
Tailwind
colors: {
  custom: {
    50: '#ebdfa1',
    500: '#dfd279',
    950: '#000000',
  },
}
SCSS
$custom: #dfd279;
$custom-light: #ebdfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd279",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 121
  },
  "hsl": {
    "h": 52.353,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8554,
    "c": 0.11145,
    "h": 101.1
  },
  "luminance": 0.63162
}

Semantic roles & 50–950 ramp

primary
#DFD279
secondary
#4856B4
accent
#32C91C
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DFD279

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

Preview Lab → · Contrast checker → · Palette generator →

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