#DCC65B#DCC65B

#DCC65B is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.4% C 0.129 H 97.8°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#DCC65B
RGBrgb(220, 198, 91)
HSLhsl(50, 65%, 61%)
HSVhsv(50, 59%, 86%)
CMYKcmyk(0%, 10%, 58.6%, 13.7%)
CIE-LABlab(79.82, -5.13, 55.32)
CIE-LCHlch(79.82, 55.56, 95.29°)
OKLaboklab(82.43% -0.0175 0.128)
OKLCHoklch(82.43% 0.129 97.8)
XYZxyz(51.5996, 56.3614, 18.0564)
Luminance0.5636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC65B #5B71DC
analogous
#DC855B #DCC65B #B2DC5B
triadic
#DCC65B #5BDCC6 #C65BDC
tetradic
#DCC65B #5BDC85 #5B71DC #DC5BB2
square
#DCC65B #5BDC85 #5B71DC #DC5BB2
split-complementary
#DCC65B #5BB2DC #855BDC
monochromatic
#9B8721 #CEB22C #DCC65B #E7D88D #F2E9C0

Accessibility & contrast

On white

1.71
#DCC65B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#DCC65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC65B
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC65B#FFFFFF#000000##000000
##DCC65B1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C150
Deuteranopia (green-blind)
#DDC960
Tritanopia (blue-blind)
#ECB9AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc65b;
/* rgb */ color: rgb(220, 198, 91);
/* oklch */ color: oklch(82.4% 0.129 97.8);
Tailwind
colors: {
  custom: {
    50: '#ead78d',
    500: '#dcc65b',
    950: '#000000',
  },
}
SCSS
$custom: #dcc65b;
$custom-light: #ead78d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc65b",
  "rgb": {
    "r": 220,
    "g": 198,
    "b": 91
  },
  "hsl": {
    "h": 49.767,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8243,
    "c": 0.12922,
    "h": 97.8
  },
  "luminance": 0.56359
}

Semantic roles & 50–950 ramp

primary
#DCC65B
secondary
#3C4D9F
accent
#38CD19
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #DCC65B

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

Preview Lab → · Contrast checker → · Palette generator →

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