#DCD275#DCD275

#DCD275 is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.2% C 0.116 H 103.1°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#DCD275
RGBrgb(220, 210, 117)
HSLhsl(54, 60%, 66%)
HSVhsv(54, 47%, 86%)
CMYKcmyk(0%, 4.5%, 46.8%, 13.7%)
CIE-LABlab(83.23, -9.11, 47.05)
CIE-LCHlch(83.23, 47.93, 100.96°)
OKLaboklab(85.23% -0.0262 0.1125)
OKLCHoklch(85.23% 0.116 103.1)
XYZxyz(55.7741, 62.5949, 25.9702)
Luminance0.6259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD275 #757FDC
analogous
#DC9E75 #DCD275 #B2DC75
triadic
#DCD275 #75DCD2 #D275DC
tetradic
#DCD275 #75DC9E #757FDC #DC75B2
square
#DCD275 #75DC9E #757FDC #DC75B2
split-complementary
#DCD275 #75B2DC #9E75DC
monochromatic
#AB9F2B #D0C244 #DCD275 #E8E2A6 #F5F2D7

Accessibility & contrast

On white

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

On black

13.52
#DCD275 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD275
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD275#FFFFFF#000000##000000
##DCD2751.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd275;
/* rgb */ color: rgb(220, 210, 117);
/* oklch */ color: oklch(85.2% 0.116 103.1);
Tailwind
colors: {
  custom: {
    50: '#e9df9e',
    500: '#dcd275',
    950: '#000000',
  },
}
SCSS
$custom: #dcd275;
$custom-light: #e9df9e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd275",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 117
  },
  "hsl": {
    "h": 54.175,
    "s": 59.538,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85226,
    "c": 0.11554,
    "h": 103.1
  },
  "luminance": 0.62593
}

Semantic roles & 50–950 ramp

primary
#DCD275
secondary
#4851AE
accent
#2FC71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD275

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

Preview Lab → · Contrast checker → · Palette generator →

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