#DCD75B#DCD75B

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

Color values

HEX#DCD75B
RGBrgb(220, 215, 91)
HSLhsl(58, 65%, 61%)
HSVhsv(58, 59%, 86%)
CMYKcmyk(0%, 2.3%, 58.6%, 13.7%)
CIE-LABlab(84.26, -13.74, 60.28)
CIE-LCHlch(84.26, 61.82, 102.84°)
OKLaboklab(85.96% -0.0422 0.1386)
OKLCHoklch(85.96% 0.145 106.9)
XYZxyz(55.7057, 64.5736, 19.4251)
Luminance0.6457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD75B #5B60DC
analogous
#DC965B #DCD75B #A0DC5B
triadic
#DCD75B #5BDCD7 #D75BDC
tetradic
#DCD75B #5BDC96 #5B60DC #DC5BA0
square
#DCD75B #5BDC96 #5B60DC #DC5BA0
split-complementary
#DCD75B #5BA0DC #965BDC
monochromatic
#9B9721 #CEC82C #DCD75B #E7E38D #F2F0C0

Accessibility & contrast

On white

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

On black

13.91
#DCD75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD75B
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD75B#FFFFFF#000000##000000
##DCD75B1.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4D
Deuteranopia (green-blind)
#EAD562
Tritanopia (blue-blind)
#EBCABC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd75b;
/* rgb */ color: rgb(220, 215, 91);
/* oklch */ color: oklch(86.0% 0.145 106.9);
Tailwind
colors: {
  custom: {
    50: '#eae38e',
    500: '#dcd75b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd75b;
$custom-light: #eae38e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd75b",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 91
  },
  "hsl": {
    "h": 57.674,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8596,
    "c": 0.14486,
    "h": 106.9
  },
  "luminance": 0.64572
}

Semantic roles & 50–950 ramp

primary
#DCD75B
secondary
#3C409F
accent
#20CD19
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCD75B

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

Preview Lab → · Contrast checker → · Palette generator →

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