#DCC75C#DCC75C

#DCC75C is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.6% C 0.129 H 98.3°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#DCC75C
RGBrgb(220, 199, 92)
HSLhsl(50, 65%, 61%)
HSVhsv(50, 58%, 86%)
CMYKcmyk(0%, 9.5%, 58.2%, 13.7%)
CIE-LABlab(80.09, -5.57, 55.17)
CIE-LCHlch(80.09, 55.45, 95.76°)
OKLaboklab(82.65% -0.0187 0.1278)
OKLCHoklch(82.65% 0.129 98.3)
XYZxyz(51.8724, 56.8374, 18.3615)
Luminance0.5684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC75C #5C71DC
analogous
#DC875C #DCC75C #B1DC5C
triadic
#DCC75C #5CDCC7 #C75CDC
tetradic
#DCC75C #5CDC87 #5C71DC #DC5CB1
square
#DCC75C #5CDC87 #5C71DC #DC5CB1
split-complementary
#DCC75C #5CB1DC #875CDC
monochromatic
#9C8822 #CEB42C #DCC75C #E7D88E #F2EAC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC75C#FFFFFF#000000##000000
##DCC75C1.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)
#D8C251
Deuteranopia (green-blind)
#DECA61
Tritanopia (blue-blind)
#ECBAAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc75c;
/* rgb */ color: rgb(220, 199, 92);
/* oklch */ color: oklch(82.6% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#ead78e',
    500: '#dcc75c',
    950: '#000000',
  },
}
SCSS
$custom: #dcc75c;
$custom-light: #ead78e;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc75c",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 92
  },
  "hsl": {
    "h": 50.156,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82646,
    "c": 0.12917,
    "h": 98.3
  },
  "luminance": 0.56835
}

Semantic roles & 50–950 ramp

primary
#DCC75C
secondary
#3C4DA0
accent
#36CC19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC75C

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

Preview Lab → · Contrast checker → · Palette generator →

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