#DCD243#DCD243

#DCD243 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.7% C 0.158 H 105.3°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#DCD243
RGBrgb(220, 210, 67)
HSLhsl(56, 69%, 56%)
HSVhsv(56, 70%, 86%)
CMYKcmyk(0%, 4.5%, 69.5%, 13.7%)
CIE-LABlab(82.76, -12.67, 68.38)
CIE-LCHlch(82.76, 69.55, 100.49°)
OKLaboklab(84.71% -0.0416 0.1521)
OKLCHoklch(84.71% 0.158 105.3)
XYZxyz(53.5771, 61.7161, 14.3993)
Luminance0.6171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD243 #434DDC
analogous
#DC8643 #DCD243 #9ADC43
triadic
#DCD243 #43DCD2 #D243DC
tetradic
#DCD243 #43DC86 #434DDC #DC439A
square
#DCD243 #43DC86 #434DDC #DC439A
split-complementary
#DCD243 #439ADC #8643DC
monochromatic
#8B831A #BEB423 #DCD243 #E6DE77 #EFEBAA

Accessibility & contrast

On white

1.57
#DCD243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#DCD243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD243
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD243#FFFFFF#000000##000000
##DCD2431.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB2C
Deuteranopia (green-blind)
#E8D14D
Tritanopia (blue-blind)
#ECC4B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd243;
/* rgb */ color: rgb(220, 210, 67);
/* oklch */ color: oklch(84.7% 0.158 105.3);
Tailwind
colors: {
  custom: {
    50: '#ebdf80',
    500: '#dcd243',
    950: '#000000',
  },
}
SCSS
$custom: #dcd243;
$custom-light: #ebdf80;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd243",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 67
  },
  "hsl": {
    "h": 56.078,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84705,
    "c": 0.15773,
    "h": 105.3
  },
  "luminance": 0.61714
}

Semantic roles & 50–950 ramp

primary
#DCD243
secondary
#333990
accent
#48EB3C
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCD243

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

Preview Lab → · Contrast checker → · Palette generator →

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