#DCD27C#DCD27C

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

Color values

HEX#DCD27C
RGBrgb(220, 210, 124)
HSLhsl(54, 58%, 67%)
HSVhsv(54, 44%, 86%)
CMYKcmyk(0%, 4.5%, 43.6%, 13.7%)
CIE-LABlab(83.32, -8.43, 43.73)
CIE-LCHlch(83.32, 44.53, 100.91°)
OKLaboklab(85.33% -0.0236 0.1056)
OKLCHoklch(85.33% 0.108 102.6)
XYZxyz(56.2011, 62.7657, 28.2194)
Luminance0.6276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD27C #7C86DC
analogous
#DCA27C #DCD27C #B6DC7C
triadic
#DCD27C #7CDCD2 #D27CDC
tetradic
#DCD27C #7CDCA2 #7C86DC #DC7CB6
square
#DCD27C #7CDCA2 #7C86DC #DC7CB6
split-complementary
#DCD27C #7CB6DC #A27CDC
monochromatic
#AFA22F #CFC14C #DCD27C #E9E3AC #F6F3DD

Accessibility & contrast

On white

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

On black

13.55
#DCD27C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD27C
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD27C#FFFFFF#000000##000000
##DCD27C1.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd27c;
/* rgb */ color: rgb(220, 210, 124);
/* oklch */ color: oklch(85.3% 0.108 102.6);
Tailwind
colors: {
  custom: {
    50: '#e8dfa3',
    500: '#dcd27c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd27c;
$custom-light: #e8dfa3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd27c",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 124
  },
  "hsl": {
    "h": 53.75,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85327,
    "c": 0.10818,
    "h": 102.6
  },
  "luminance": 0.62764
}

Semantic roles & 50–950 ramp

primary
#DCD27C
secondary
#4B56B1
accent
#31C520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD27C

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

Preview Lab → · Contrast checker → · Palette generator →

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