#DCC65F#DCC65F

#DCC65F is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.5% C 0.126 H 97.4°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#DCC65F
RGBrgb(220, 198, 95)
HSLhsl(49, 64%, 62%)
HSVhsv(49, 57%, 86%)
CMYKcmyk(0%, 10%, 56.8%, 13.7%)
CIE-LABlab(79.86, -4.83, 53.53)
CIE-LCHlch(79.86, 53.75, 95.16°)
OKLaboklab(82.47% -0.0162 0.1246)
OKLCHoklch(82.47% 0.126 97.4)
XYZxyz(51.7768, 56.4323, 18.9895)
Luminance0.5643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC65F #5F75DC
analogous
#DC885F #DCC65F #B4DC5F
triadic
#DCC65F #5FDCC6 #C65FDC
tetradic
#DCC65F #5FDC88 #5F75DC #DC5FB4
square
#DCC65F #5FDC88 #5F75DC #DC5FB4
split-complementary
#DCC65F #5FB4DC #885FDC
monochromatic
#9E8823 #D0B42E #DCC65F #E7D891 #F2EAC3

Accessibility & contrast

On white

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

On black

12.29
#DCC65F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC65F
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC65F#FFFFFF#000000##000000
##DCC65F1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C255
Deuteranopia (green-blind)
#DDC964
Tritanopia (blue-blind)
#EBB9AF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dcc65f;
/* rgb */ color: rgb(220, 198, 95);
/* oklch */ color: oklch(82.5% 0.126 97.4);
Tailwind
colors: {
  custom: {
    50: '#ead78f',
    500: '#dcc65f',
    950: '#000000',
  },
}
SCSS
$custom: #dcc65f;
$custom-light: #ead78f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc65f",
  "rgb": {
    "r": 220,
    "g": 198,
    "b": 95
  },
  "hsl": {
    "h": 49.44,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82474,
    "c": 0.12569,
    "h": 97.4
  },
  "luminance": 0.5643
}

Semantic roles & 50–950 ramp

primary
#DCC65F
secondary
#3E4FA2
accent
#39CC1A
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #DCC65F

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

Preview Lab → · Contrast checker → · Palette generator →

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