#DCD279#DCD279

#DCD279 is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.111 H 102.8°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#DCD279
RGBrgb(220, 210, 121)
HSLhsl(54, 59%, 67%)
HSVhsv(54, 45%, 86%)
CMYKcmyk(0%, 4.5%, 45%, 13.7%)
CIE-LABlab(83.28, -8.73, 45.16)
CIE-LCHlch(83.28, 45.99, 100.94°)
OKLaboklab(85.28% -0.0247 0.1086)
OKLCHoklch(85.28% 0.111 102.8)
XYZxyz(56.0143, 62.6910, 27.2354)
Luminance0.6269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD279 #7983DC
analogous
#DCA179 #DCD279 #B5DC79
triadic
#DCD279 #79DCD2 #D279DC
tetradic
#DCD279 #79DCA1 #7983DC #DC79B5
square
#DCD279 #79DCA1 #7983DC #DC79B5
split-complementary
#DCD279 #79B5DC #A179DC
monochromatic
#ADA02D #CFC248 #DCD279 #E9E2AA #F5F3DA

Accessibility & contrast

On white

1.55
#DCD279 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#DCD279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD279
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD279#FFFFFF#000000##000000
##DCD2791.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD72
Deuteranopia (green-blind)
#E4D27D
Tritanopia (blue-blind)
#E9C7BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd279;
/* rgb */ color: rgb(220, 210, 121);
/* oklch */ color: oklch(85.3% 0.111 102.8);
Tailwind
colors: {
  custom: {
    50: '#e8dfa1',
    500: '#dcd279',
    950: '#000000',
  },
}
SCSS
$custom: #dcd279;
$custom-light: #e8dfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd279",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 121
  },
  "hsl": {
    "h": 53.939,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85283,
    "c": 0.11137,
    "h": 102.8
  },
  "luminance": 0.62689
}

Semantic roles & 50–950 ramp

primary
#DCD279
secondary
#4A54B0
accent
#30C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD279

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

Preview Lab → · Contrast checker → · Palette generator →

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