#DCD246#DCD246

#DCD246 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.7% C 0.156 H 105.2°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#DCD246
RGBrgb(220, 210, 70)
HSLhsl(56, 68%, 57%)
HSVhsv(56, 68%, 86%)
CMYKcmyk(0%, 4.5%, 68.2%, 13.7%)
CIE-LABlab(82.78, -12.52, 67.28)
CIE-LCHlch(82.78, 68.44, 100.54°)
OKLaboklab(84.73% -0.0409 0.1503)
OKLCHoklch(84.73% 0.156 105.2)
XYZxyz(53.6694, 61.7530, 14.8856)
Luminance0.6175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD246 #4650DC
analogous
#DC8746 #DCD246 #9BDC46
triadic
#DCD246 #46DCD2 #D246DC
tetradic
#DCD246 #46DC87 #4650DC #DC469B
square
#DCD246 #46DC87 #4650DC #DC469B
split-complementary
#DCD246 #469BDC #8746DC
monochromatic
#8D851B #C0B624 #DCD246 #E6DF79 #EFEBAD

Accessibility & contrast

On white

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

On black

13.35
#DCD246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD246
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD246#FFFFFF#000000##000000
##DCD2461.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd246;
/* rgb */ color: rgb(220, 210, 70);
/* oklch */ color: oklch(84.7% 0.156 105.2);
Tailwind
colors: {
  custom: {
    50: '#eadf81',
    500: '#dcd246',
    950: '#000000',
  },
}
SCSS
$custom: #dcd246;
$custom-light: #eadf81;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd246",
  "rgb": {
    "r": 220,
    "g": 210,
    "b": 70
  },
  "hsl": {
    "h": 56,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84727,
    "c": 0.15578,
    "h": 105.2
  },
  "luminance": 0.61751
}

Semantic roles & 50–950 ramp

primary
#DCD246
secondary
#343A92
accent
#48EB3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCD246

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

Preview Lab → · Contrast checker → · Palette generator →

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