#DCD27F#DCD27F

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

Color values

HEX#DCD27F
RGBrgb(220, 210, 127)
HSLhsl(54, 57%, 68%)
HSVhsv(54, 42%, 86%)
CMYKcmyk(0%, 4.5%, 42.3%, 13.7%)
CIE-LABlab(83.36, -8.13, 42.29)
CIE-LCHlch(83.36, 43.06, 100.88°)
OKLaboklab(85.37% -0.0224 0.1025)
OKLCHoklch(85.37% 0.105 102.4)
XYZxyz(56.3937, 62.8427, 29.2338)
Luminance0.6284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD27F #7F89DC
analogous
#DCA37F #DCD27F #B8DC7F
triadic
#DCD27F #7FDCD2 #D27FDC
tetradic
#DCD27F #7FDCA3 #7F89DC #DC7FB8
square
#DCD27F #7FDCA3 #7F89DC #DC7FB8
split-complementary
#DCD27F #7FB8DC #A37FDC
monochromatic
#B0A330 #CFC14F #DCD27F #E9E3AF #F6F4DF

Accessibility & contrast

On white

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

On black

13.57
#DCD27F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD27F
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD27F#FFFFFF#000000##000000
##DCD27F1.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD78
Deuteranopia (green-blind)
#E3D282
Tritanopia (blue-blind)
#E9C8BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dcd27f;
/* rgb */ color: rgb(220, 210, 127);
/* oklch */ color: oklch(85.4% 0.105 102.4);
Tailwind
colors: {
  custom: {
    50: '#e8dfa5',
    500: '#dcd27f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd27f;
$custom-light: #e8dfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd27f",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 127
  },
  "hsl": {
    "h": 53.548,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85372,
    "c": 0.10495,
    "h": 102.4
  },
  "luminance": 0.62841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD27F

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

Preview Lab → · Contrast checker → · Palette generator →

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