#DCD27D#DCD27D

#DCD27D is a very light, moderate yellow. Relative luminance 0.628; OKLCH L 85.3% C 0.107 H 102.5°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#DCD27D
RGBrgb(220, 210, 125)
HSLhsl(54, 58%, 68%)
HSVhsv(54, 43%, 86%)
CMYKcmyk(0%, 4.5%, 43.2%, 13.7%)
CIE-LABlab(83.33, -8.33, 43.25)
CIE-LCHlch(83.33, 44.04, 100.90°)
OKLaboklab(85.34% -0.0232 0.1046)
OKLCHoklch(85.34% 0.107 102.5)
XYZxyz(56.2647, 62.7911, 28.5541)
Luminance0.6279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD27D #7D87DC
analogous
#DCA27D #DCD27D #B7DC7D
triadic
#DCD27D #7DDCD2 #D27DDC
tetradic
#DCD27D #7DDCA2 #7D87DC #DC7DB7
square
#DCD27D #7DDCA2 #7D87DC #DC7DB7
split-complementary
#DCD27D #7DB7DC #A27DDC
monochromatic
#AFA22F #CFC14D #DCD27D #E9E3AD #F6F3DD

Accessibility & contrast

On white

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

On black

13.56
#DCD27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD27D
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD27D#FFFFFF#000000##000000
##DCD27D1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD76
Deuteranopia (green-blind)
#E3D281
Tritanopia (blue-blind)
#E9C7BD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd27d;
/* rgb */ color: rgb(220, 210, 125);
/* oklch */ color: oklch(85.3% 0.107 102.5);
Tailwind
colors: {
  custom: {
    50: '#e8dfa4',
    500: '#dcd27d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd27d;
$custom-light: #e8dfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd27d",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 125
  },
  "hsl": {
    "h": 53.684,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85342,
    "c": 0.10711,
    "h": 102.5
  },
  "luminance": 0.62789
}

Semantic roles & 50–950 ramp

primary
#DCD27D
secondary
#4C56B2
accent
#32C520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD27D

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

Preview Lab → · Contrast checker → · Palette generator →

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