#DCD270#DCD270

#DCD270 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.2% C 0.121 H 103.4°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#DCD270
RGBrgb(220, 210, 112)
HSLhsl(54, 61%, 65%)
HSVhsv(54, 49%, 86%)
CMYKcmyk(0%, 4.5%, 49.1%, 13.7%)
CIE-LABlab(83.17, -9.56, 49.39)
CIE-LCHlch(83.17, 50.31, 100.96°)
OKLaboklab(85.16% -0.028 0.1173)
OKLCHoklch(85.16% 0.121 103.4)
XYZxyz(55.4879, 62.4804, 24.4631)
Luminance0.6248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD270 #707ADC
analogous
#DC9C70 #DCD270 #B0DC70
triadic
#DCD270 #70DCD2 #D270DC
tetradic
#DCD270 #70DC9C #707ADC #DC70B0
square
#DCD270 #70DC9C #707ADC #DC70B0
split-complementary
#DCD270 #70B0DC #9C70DC
monochromatic
#A89D29 #D0C33F #DCD270 #E8E1A1 #F4F1D2

Accessibility & contrast

On white

1.56
#DCD270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#DCD270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD270
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD270#FFFFFF#000000##000000
##DCD2701.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC67
Deuteranopia (green-blind)
#E5D274
Tritanopia (blue-blind)
#EAC6BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd270;
/* rgb */ color: rgb(220, 210, 112);
/* oklch */ color: oklch(85.2% 0.121 103.4);
Tailwind
colors: {
  custom: {
    50: '#e9df9b',
    500: '#dcd270',
    950: '#000000',
  },
}
SCSS
$custom: #dcd270;
$custom-light: #e9df9b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd270",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 112
  },
  "hsl": {
    "h": 54.444,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.85159,
    "c": 0.1206,
    "h": 103.4
  },
  "luminance": 0.62479
}

Semantic roles & 50–950 ramp

primary
#DCD270
secondary
#454FAB
accent
#2DC81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD270

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

Preview Lab → · Contrast checker → · Palette generator →

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