#DCD75F#DCD75F

#DCD75F is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.0% C 0.141 H 106.8°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#DCD75F
RGBrgb(220, 215, 95)
HSLhsl(58, 64%, 62%)
HSVhsv(58, 57%, 86%)
CMYKcmyk(0%, 2.3%, 56.8%, 13.7%)
CIE-LABlab(84.30, -13.45, 58.57)
CIE-LCHlch(84.30, 60.09, 102.94°)
OKLaboklab(86% -0.0409 0.1354)
OKLCHoklch(86% 0.141 106.8)
XYZxyz(55.8829, 64.6444, 20.3582)
Luminance0.6464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD75F #5F64DC
analogous
#DC995F #DCD75F #A3DC5F
triadic
#DCD75F #5FDCD7 #D75FDC
tetradic
#DCD75F #5FDC99 #5F64DC #DC5FA3
square
#DCD75F #5FDC99 #5F64DC #DC5FA3
split-complementary
#DCD75F #5FA3DC #995FDC
monochromatic
#9E9923 #D0CA2E #DCD75F #E7E491 #F2F0C3

Accessibility & contrast

On white

1.51
#DCD75F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#DCD75F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD75F
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD75F#FFFFFF#000000##000000
##DCD75F1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D052
Deuteranopia (green-blind)
#EAD566
Tritanopia (blue-blind)
#EACABD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd75f;
/* rgb */ color: rgb(220, 215, 95);
/* oklch */ color: oklch(86.0% 0.141 106.8);
Tailwind
colors: {
  custom: {
    50: '#e9e390',
    500: '#dcd75f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd75f;
$custom-light: #e9e390;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd75f",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 95
  },
  "hsl": {
    "h": 57.6,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.86001,
    "c": 0.14149,
    "h": 106.8
  },
  "luminance": 0.64643
}

Semantic roles & 50–950 ramp

primary
#DCD75F
secondary
#3E42A2
accent
#21CC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD75F

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

Preview Lab → · Contrast checker → · Palette generator →

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