#DCD273#DCD273

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

Color values

HEX#DCD273
RGBrgb(220, 210, 115)
HSLhsl(54, 60%, 66%)
HSVhsv(54, 48%, 86%)
CMYKcmyk(0%, 4.5%, 47.7%, 13.7%)
CIE-LABlab(83.20, -9.29, 47.99)
CIE-LCHlch(83.20, 48.88, 100.96°)
OKLaboklab(85.2% -0.0269 0.1145)
OKLCHoklch(85.2% 0.118 103.2)
XYZxyz(55.6577, 62.5483, 25.3575)
Luminance0.6255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD273 #737DDC
analogous
#DC9D73 #DCD273 #B1DC73
triadic
#DCD273 #73DCD2 #D273DC
tetradic
#DCD273 #73DC9D #737DDC #DC73B1
square
#DCD273 #73DC9D #737DDC #DC73B1
split-complementary
#DCD273 #73B1DC #9D73DC
monochromatic
#AA9E2B #D0C242 #DCD273 #E8E2A4 #F4F1D5

Accessibility & contrast

On white

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

On black

13.51
#DCD273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD273
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD273#FFFFFF#000000##000000
##DCD2731.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6B
Deuteranopia (green-blind)
#E4D277
Tritanopia (blue-blind)
#E9C7BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd273;
/* rgb */ color: rgb(220, 210, 115);
/* oklch */ color: oklch(85.2% 0.118 103.2);
Tailwind
colors: {
  custom: {
    50: '#e9df9d',
    500: '#dcd273',
    950: '#000000',
  },
}
SCSS
$custom: #dcd273;
$custom-light: #e9df9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd273",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 115
  },
  "hsl": {
    "h": 54.286,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85199,
    "c": 0.11757,
    "h": 103.2
  },
  "luminance": 0.62547
}

Semantic roles & 50–950 ramp

primary
#DCD273
secondary
#4750AD
accent
#2EC81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD273

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

Preview Lab → · Contrast checker → · Palette generator →

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