#DCD272#DCD272

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

Color values

HEX#DCD272
RGBrgb(220, 210, 114)
HSLhsl(54, 60%, 65%)
HSVhsv(54, 48%, 86%)
CMYKcmyk(0%, 4.5%, 48.2%, 13.7%)
CIE-LABlab(83.19, -9.38, 48.46)
CIE-LCHlch(83.19, 49.36, 100.96°)
OKLaboklab(85.19% -0.0273 0.1154)
OKLCHoklch(85.19% 0.119 103.3)
XYZxyz(55.6005, 62.5255, 25.0561)
Luminance0.6252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD272 #727CDC
analogous
#DC9D72 #DCD272 #B1DC72
triadic
#DCD272 #72DCD2 #D272DC
tetradic
#DCD272 #72DC9D #727CDC #DC72B1
square
#DCD272 #72DC9D #727CDC #DC72B1
split-complementary
#DCD272 #72B1DC #9D72DC
monochromatic
#AA9D2A #D0C241 #DCD272 #E8E2A3 #F4F1D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD272#FFFFFF#000000##000000
##DCD2721.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)
#E1CC6A
Deuteranopia (green-blind)
#E4D276
Tritanopia (blue-blind)
#EAC7BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd272;
/* rgb */ color: rgb(220, 210, 114);
/* oklch */ color: oklch(85.2% 0.119 103.3);
Tailwind
colors: {
  custom: {
    50: '#e9df9c',
    500: '#dcd272',
    950: '#000000',
  },
}
SCSS
$custom: #dcd272;
$custom-light: #e9df9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd272",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 114
  },
  "hsl": {
    "h": 54.34,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85185,
    "c": 0.11859,
    "h": 103.3
  },
  "luminance": 0.62524
}

Semantic roles & 50–950 ramp

primary
#DCD272
secondary
#4650AC
accent
#2EC81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD272

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

Preview Lab → · Contrast checker → · Palette generator →

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