#DCCF5F#DCCF5F

#DCCF5F is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.3% C 0.134 H 102.7°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#DCCF5F
RGBrgb(220, 207, 95)
HSLhsl(54, 64%, 62%)
HSVhsv(54, 57%, 86%)
CMYKcmyk(0%, 5.9%, 56.8%, 13.7%)
CIE-LABlab(82.20, -9.43, 56.20)
CIE-LCHlch(82.20, 56.99, 99.53°)
OKLaboklab(84.33% -0.0294 0.1304)
OKLCHoklch(84.33% 0.134 102.7)
XYZxyz(53.8954, 60.6695, 19.6957)
Luminance0.6067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCCF5F #5F6CDC
analogous
#DC915F #DCCF5F #ABDC5F
triadic
#DCCF5F #5FDCCF #CF5FDC
tetradic
#DCCF5F #5FDC91 #5F6CDC #DC5FAB
square
#DCCF5F #5FDC91 #5F6CDC #DC5FAB
split-complementary
#DCCF5F #5FABDC #915FDC
monochromatic
#9E9123 #D0BF2E #DCCF5F #E7DE91 #F2EDC3

Accessibility & contrast

On white

1.60
#DCCF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#DCCF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCCF5F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCCF5F#FFFFFF#000000##000000
##DCCF5F1.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C954
Deuteranopia (green-blind)
#E4CF65
Tritanopia (blue-blind)
#EBC2B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #dccf5f;
/* rgb */ color: rgb(220, 207, 95);
/* oklch */ color: oklch(84.3% 0.134 102.7);
Tailwind
colors: {
  custom: {
    50: '#e9dd90',
    500: '#dccf5f',
    950: '#000000',
  },
}
SCSS
$custom: #dccf5f;
$custom-light: #e9dd90;
$custom-dark: #000000;
JSON
{
  "hex": "#dccf5f",
  "rgb": {
    "r": 220,
    "g": 207,
    "b": 95
  },
  "hsl": {
    "h": 53.76,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84331,
    "c": 0.13365,
    "h": 102.7
  },
  "luminance": 0.60668
}

Semantic roles & 50–950 ramp

primary
#DCCF5F
secondary
#3E48A2
accent
#2CCC1A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #DCCF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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