#DCD775#DCD775

#DCD775 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.3% C 0.121 H 106.1°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#DCD775
RGBrgb(220, 215, 117)
HSLhsl(57, 60%, 66%)
HSVhsv(57, 47%, 86%)
CMYKcmyk(0%, 2.3%, 46.8%, 13.7%)
CIE-LABlab(84.54, -11.63, 48.64)
CIE-LCHlch(84.54, 50.02, 103.45°)
OKLaboklab(86.27% -0.0334 0.1161)
OKLCHoklch(86.27% 0.121 106.1)
XYZxyz(57.0278, 65.1024, 26.3881)
Luminance0.6510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD775 #757ADC
analogous
#DCA375 #DCD775 #ADDC75
triadic
#DCD775 #75DCD7 #D775DC
tetradic
#DCD775 #75DCA3 #757ADC #DC75AD
square
#DCD775 #75DCA3 #757ADC #DC75AD
split-complementary
#DCD775 #75ADDC #A375DC
monochromatic
#ABA52B #D0C944 #DCD775 #E8E5A6 #F5F3D7

Accessibility & contrast

On white

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

On black

14.02
#DCD775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD775
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD775#FFFFFF#000000##000000
##DCD7751.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D06D
Deuteranopia (green-blind)
#E8D57A
Tritanopia (blue-blind)
#E9CCC0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd775;
/* rgb */ color: rgb(220, 215, 117);
/* oklch */ color: oklch(86.3% 0.121 106.1);
Tailwind
colors: {
  custom: {
    50: '#e9e39f',
    500: '#dcd775',
    950: '#000000',
  },
}
SCSS
$custom: #dcd775;
$custom-light: #e9e39f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd775",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 117
  },
  "hsl": {
    "h": 57.087,
    "s": 59.538,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86265,
    "c": 0.12077,
    "h": 106.1
  },
  "luminance": 0.65101
}

Semantic roles & 50–950 ramp

primary
#DCD775
secondary
#484CAE
accent
#27C71E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150F
muted
#858480

Preview Lab

Preview with #DCD775

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

Preview Lab → · Contrast checker → · Palette generator →

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