#DCD146#DCD146

#DCD146 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.5% C 0.155 H 104.8°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#DCD146
RGBrgb(220, 209, 70)
HSLhsl(56, 68%, 57%)
HSVhsv(56, 68%, 86%)
CMYKcmyk(0%, 5%, 68.2%, 13.7%)
CIE-LABlab(82.52, -12.01, 67.02)
CIE-LCHlch(82.52, 68.09, 100.16°)
OKLaboklab(84.52% -0.0395 0.1498)
OKLCHoklch(84.52% 0.155 104.8)
XYZxyz(53.4233, 61.2608, 14.8036)
Luminance0.6126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD146 #4651DC
analogous
#DC8646 #DCD146 #9CDC46
triadic
#DCD146 #46DCD1 #D146DC
tetradic
#DCD146 #46DC86 #4651DC #DC469C
square
#DCD146 #46DC86 #4651DC #DC469C
split-complementary
#DCD146 #469CDC #8646DC
monochromatic
#8D851B #C0B524 #DCD146 #E6DE79 #EFEBAD

Accessibility & contrast

On white

1.58
#DCD146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#DCD146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD146
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD146#FFFFFF#000000##000000
##DCD1461.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA31
Deuteranopia (green-blind)
#E7D04F
Tritanopia (blue-blind)
#ECC3B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dcd146;
/* rgb */ color: rgb(220, 209, 70);
/* oklch */ color: oklch(84.5% 0.155 104.8);
Tailwind
colors: {
  custom: {
    50: '#eade81',
    500: '#dcd146',
    950: '#000000',
  },
}
SCSS
$custom: #dcd146;
$custom-light: #eade81;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd146",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 70
  },
  "hsl": {
    "h": 55.6,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84518,
    "c": 0.15488,
    "h": 104.8
  },
  "luminance": 0.61259
}

Semantic roles & 50–950 ramp

primary
#DCD146
secondary
#343B92
accent
#4AEB3D
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #DCD146

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

Preview Lab → · Contrast checker → · Palette generator →

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