#DCD27E#DCD27E

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

Color values

HEX#DCD27E
RGBrgb(220, 210, 126)
HSLhsl(54, 57%, 68%)
HSVhsv(54, 43%, 86%)
CMYKcmyk(0%, 4.5%, 42.7%, 13.7%)
CIE-LABlab(83.35, -8.23, 42.77)
CIE-LCHlch(83.35, 43.55, 100.89°)
OKLaboklab(85.36% -0.0228 0.1035)
OKLCHoklch(85.36% 0.106 102.4)
XYZxyz(56.3289, 62.8168, 28.8922)
Luminance0.6281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD27E #7E88DC
analogous
#DCA37E #DCD27E #B7DC7E
triadic
#DCD27E #7EDCD2 #D27EDC
tetradic
#DCD27E #7EDCA3 #7E88DC #DC7EB7
square
#DCD27E #7EDCA3 #7E88DC #DC7EB7
split-complementary
#DCD27E #7EB7DC #A37EDC
monochromatic
#B0A230 #CFC14E #DCD27E #E9E3AE #F6F4DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD27E#FFFFFF#000000##000000
##DCD27E1.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)
#E0CD77
Deuteranopia (green-blind)
#E3D281
Tritanopia (blue-blind)
#E9C8BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd27e;
/* rgb */ color: rgb(220, 210, 126);
/* oklch */ color: oklch(85.4% 0.106 102.4);
Tailwind
colors: {
  custom: {
    50: '#e8dfa5',
    500: '#dcd27e',
    950: '#000000',
  },
}
SCSS
$custom: #dcd27e;
$custom-light: #e8dfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd27e",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 126
  },
  "hsl": {
    "h": 53.617,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85357,
    "c": 0.10603,
    "h": 102.4
  },
  "luminance": 0.62815
}

Semantic roles & 50–950 ramp

primary
#DCD27E
secondary
#4C57B2
accent
#32C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD27E

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

Preview Lab → · Contrast checker → · Palette generator →

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