#DCCF40#DCCF40

#DCCF40 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.1% C 0.157 H 104.1°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#DCCF40
RGBrgb(220, 207, 64)
HSLhsl(55, 69%, 56%)
HSVhsv(55, 71%, 86%)
CMYKcmyk(0%, 5.9%, 70.9%, 13.7%)
CIE-LABlab(81.95, -11.31, 68.68)
CIE-LCHlch(81.95, 69.61, 99.35°)
OKLaboklab(84.06% -0.0381 0.1523)
OKLCHoklch(84.06% 0.157 104.1)
XYZxyz(52.7557, 60.2136, 13.6930)
Luminance0.6021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCF40 #404DDC
analogous
#DC8140 #DCCF40 #9BDC40
triadic
#DCCF40 #40DCCF #CF40DC
tetradic
#DCCF40 #40DC81 #404DDC #DC409B
square
#DCCF40 #40DC81 #404DDC #DC409B
split-complementary
#DCCF40 #409BDC #8140DC
monochromatic
#897F19 #BCAF23 #DCCF40 #E5DC74 #EFE9A7

Accessibility & contrast

On white

1.61
#DCCF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#DCCF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCF40
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCF40#FFFFFF#000000##000000
##DCCF401.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C828
Deuteranopia (green-blind)
#E6CF4A
Tritanopia (blue-blind)
#ECC1B3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dccf40;
/* rgb */ color: rgb(220, 207, 64);
/* oklch */ color: oklch(84.1% 0.157 104.1);
Tailwind
colors: {
  custom: {
    50: '#ebdd7e',
    500: '#dccf40',
    950: '#000000',
  },
}
SCSS
$custom: #dccf40;
$custom-light: #ebdd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#dccf40",
  "rgb": {
    "r": 220,
    "g": 207,
    "b": 64
  },
  "hsl": {
    "h": 55,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84056,
    "c": 0.15695,
    "h": 104.1
  },
  "luminance": 0.60211
}

Semantic roles & 50–950 ramp

primary
#DCCF40
secondary
#32398F
accent
#4BEC3C
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #DCCF40

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

Preview Lab → · Contrast checker → · Palette generator →

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