#DCD93B#DCD93B

#DCD93B is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.1% C 0.169 H 108.4°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#DCD93B
RGBrgb(220, 217, 59)
HSLhsl(59, 70%, 55%)
HSVhsv(59, 73%, 86%)
CMYKcmyk(0%, 1.4%, 73.2%, 13.7%)
CIE-LABlab(84.57, -16.51, 72.90)
CIE-LCHlch(84.57, 74.75, 102.76°)
OKLaboklab(86.13% -0.0532 0.1603)
OKLCHoklch(86.13% 0.169 108.4)
XYZxyz(55.1196, 65.1589, 13.8103)
Luminance0.6516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD93B #3B3EDC
analogous
#DC893B #DCD93B #8FDC3B
triadic
#DCD93B #3BDCD9 #D93BDC
tetradic
#DCD93B #3BDC89 #3B3EDC #DC3B8F
square
#DCD93B #3BDC89 #3B3EDC #DC3B8F
split-complementary
#DCD93B #3B8FDC #893BDC
monochromatic
#858318 #B9B621 #DCD93B #E5E36F #EFEDA3

Accessibility & contrast

On white

1.50
#DCD93B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#DCD93B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD93B
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD93B#FFFFFF#000000##000000
##DCD93B1.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD019
Deuteranopia (green-blind)
#EDD647
Tritanopia (blue-blind)
#ECCBBB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd93b;
/* rgb */ color: rgb(220, 217, 59);
/* oklch */ color: oklch(86.1% 0.169 108.4);
Tailwind
colors: {
  custom: {
    50: '#ebe47c',
    500: '#dcd93b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd93b;
$custom-light: #ebe47c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd93b",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 59
  },
  "hsl": {
    "h": 58.882,
    "s": 69.697,
    "l": 54.706
  },
  "oklch": {
    "l": 0.86128,
    "c": 0.16889,
    "h": 108.4
  },
  "luminance": 0.65157
}

Semantic roles & 50–950 ramp

primary
#DCD93B
secondary
#30328B
accent
#3FED3B
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #DCD93B

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

Preview Lab → · Contrast checker → · Palette generator →

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