#DCD15B#DCD15B

#DCD15B is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.7% C 0.139 H 104.0°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#DCD15B
RGBrgb(220, 209, 91)
HSLhsl(55, 65%, 61%)
HSVhsv(55, 59%, 86%)
CMYKcmyk(0%, 5%, 58.6%, 13.7%)
CIE-LABlab(82.69, -10.73, 58.53)
CIE-LCHlch(82.69, 59.51, 100.39°)
OKLaboklab(84.71% -0.0336 0.1349)
OKLCHoklch(84.71% 0.139 104)
XYZxyz(54.2059, 61.5738, 18.9251)
Luminance0.6157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD15B #5B66DC
analogous
#DC905B #DCD15B #A6DC5B
triadic
#DCD15B #5BDCD1 #D15BDC
tetradic
#DCD15B #5BDC90 #5B66DC #DC5BA6
square
#DCD15B #5BDC90 #5B66DC #DC5BA6
split-complementary
#DCD15B #5BA6DC #905BDC
monochromatic
#9B9121 #CEC02C #DCD15B #E7DF8D #F2EDC0

Accessibility & contrast

On white

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

On black

13.31
#DCD15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD15B
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD15B#FFFFFF#000000##000000
##DCD15B1.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA4E
Deuteranopia (green-blind)
#E6D161
Tritanopia (blue-blind)
#EBC4B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd15b;
/* rgb */ color: rgb(220, 209, 91);
/* oklch */ color: oklch(84.7% 0.139 104.0);
Tailwind
colors: {
  custom: {
    50: '#eade8e',
    500: '#dcd15b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd15b;
$custom-light: #eade8e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd15b",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 91
  },
  "hsl": {
    "h": 54.884,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84705,
    "c": 0.139,
    "h": 104
  },
  "luminance": 0.61572
}

Semantic roles & 50–950 ramp

primary
#DCD15B
secondary
#3C449F
accent
#28CD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD15B

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

Preview Lab → · Contrast checker → · Palette generator →

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