#DCC75D#DCC75D

#DCC75D is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.7% C 0.128 H 98.2°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#DCC75D
RGBrgb(220, 199, 93)
HSLhsl(50, 64%, 61%)
HSVhsv(50, 58%, 86%)
CMYKcmyk(0%, 9.5%, 57.7%, 13.7%)
CIE-LABlab(80.10, -5.50, 54.73)
CIE-LCHlch(80.10, 55.00, 95.73°)
OKLaboklab(82.66% -0.0184 0.127)
OKLCHoklch(82.66% 0.128 98.2)
XYZxyz(51.9164, 56.8550, 18.5933)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC75D #5D72DC
analogous
#DC885D #DCC75D #B2DC5D
triadic
#DCC75D #5DDCC7 #C75DDC
tetradic
#DCC75D #5DDC88 #5D72DC #DC5DB2
square
#DCC75D #5DDC88 #5D72DC #DC5DB2
split-complementary
#DCC75D #5DB2DC #885DDC
monochromatic
#9D8822 #CFB42D #DCC75D #E7D88F #F2EAC2

Accessibility & contrast

On white

1.70
#DCC75D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#DCC75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC75D
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC75D#FFFFFF#000000##000000
##DCC75D1.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C252
Deuteranopia (green-blind)
#DECA62
Tritanopia (blue-blind)
#ECBAB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc75d;
/* rgb */ color: rgb(220, 199, 93);
/* oklch */ color: oklch(82.7% 0.128 98.2);
Tailwind
colors: {
  custom: {
    50: '#ead78e',
    500: '#dcc75d',
    950: '#000000',
  },
}
SCSS
$custom: #dcc75d;
$custom-light: #ead78e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc75d",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 93
  },
  "hsl": {
    "h": 50.079,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82657,
    "c": 0.1283,
    "h": 98.2
  },
  "luminance": 0.56853
}

Semantic roles & 50–950 ramp

primary
#DCC75D
secondary
#3D4DA1
accent
#37CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC75D

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

Preview Lab → · Contrast checker → · Palette generator →

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