#DCD27A#DCD27A

#DCD27A is a very light, moderate yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.110 H 102.7°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#DCD27A
RGBrgb(220, 210, 122)
HSLhsl(54, 58%, 67%)
HSVhsv(54, 45%, 86%)
CMYKcmyk(0%, 4.5%, 44.5%, 13.7%)
CIE-LABlab(83.29, -8.63, 44.68)
CIE-LCHlch(83.29, 45.51, 100.93°)
OKLaboklab(85.3% -0.0243 0.1076)
OKLCHoklch(85.3% 0.11 102.7)
XYZxyz(56.0759, 62.7156, 27.5600)
Luminance0.6271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD27A #7A84DC
analogous
#DCA17A #DCD27A #B5DC7A
triadic
#DCD27A #7ADCD2 #D27ADC
tetradic
#DCD27A #7ADCA1 #7A84DC #DC7AB5
square
#DCD27A #7ADCA1 #7A84DC #DC7AB5
split-complementary
#DCD27A #7AB5DC #A17ADC
monochromatic
#AEA12E #CFC24A #DCD27A #E9E2AA #F6F3DB

Accessibility & contrast

On white

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

On black

13.54
#DCD27A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD27A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD27A#FFFFFF#000000##000000
##DCD27A1.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD73
Deuteranopia (green-blind)
#E4D27E
Tritanopia (blue-blind)
#E9C7BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd27a;
/* rgb */ color: rgb(220, 210, 122);
/* oklch */ color: oklch(85.3% 0.110 102.7);
Tailwind
colors: {
  custom: {
    50: '#e8dfa2',
    500: '#dcd27a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd27a;
$custom-light: #e8dfa2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd27a",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 122
  },
  "hsl": {
    "h": 53.878,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85298,
    "c": 0.11031,
    "h": 102.7
  },
  "luminance": 0.62714
}

Semantic roles & 50–950 ramp

primary
#DCD27A
secondary
#4A54B0
accent
#31C620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD27A

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

Preview Lab → · Contrast checker → · Palette generator →

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