#DCC75B#DCC75B

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

Color values

HEX#DCC75B
RGBrgb(220, 199, 91)
HSLhsl(50, 65%, 61%)
HSVhsv(50, 59%, 86%)
CMYKcmyk(0%, 9.5%, 58.6%, 13.7%)
CIE-LABlab(80.08, -5.64, 55.62)
CIE-LCHlch(80.08, 55.90, 95.79°)
OKLaboklab(82.64% -0.019 0.1286)
OKLCHoklch(82.64% 0.13 98.4)
XYZxyz(51.8290, 56.8200, 18.1328)
Luminance0.5682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC75B #5B70DC
analogous
#DC865B #DCC75B #B0DC5B
triadic
#DCC75B #5BDCC7 #C75BDC
tetradic
#DCC75B #5BDC86 #5B70DC #DC5BB0
square
#DCC75B #5BDC86 #5B70DC #DC5BB0
split-complementary
#DCC75B #5BB0DC #865BDC
monochromatic
#9B8821 #CEB42C #DCC75B #E7D88D #F2E9C0

Accessibility & contrast

On white

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

On black

12.36
#DCC75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC75B
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC75B#FFFFFF#000000##000000
##DCC75B1.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C250
Deuteranopia (green-blind)
#DECA60
Tritanopia (blue-blind)
#ECBAAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc75b;
/* rgb */ color: rgb(220, 199, 91);
/* oklch */ color: oklch(82.6% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#ead78d',
    500: '#dcc75b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc75b;
$custom-light: #ead78d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc75b",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 91
  },
  "hsl": {
    "h": 50.233,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82635,
    "c": 0.13004,
    "h": 98.4
  },
  "luminance": 0.56818
}

Semantic roles & 50–950 ramp

primary
#DCC75B
secondary
#3C4C9F
accent
#36CD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC75B

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

Preview Lab → · Contrast checker → · Palette generator →

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