#DFCF56#DFCF56

#DFCF56 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.5% C 0.141 H 101.8°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#DFCF56
RGBrgb(223, 207, 86)
HSLhsl(53, 68%, 61%)
HSVhsv(53, 61%, 87%)
CMYKcmyk(0%, 7.2%, 61.4%, 12.5%)
CIE-LABlab(82.37, -8.82, 60.44)
CIE-LCHlch(82.37, 61.08, 98.30°)
OKLaboklab(84.5% -0.0289 0.1382)
OKLCHoklch(84.5% 0.141 101.8)
XYZxyz(54.4261, 60.9877, 17.7072)
Luminance0.6099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCF56 #5666DF
analogous
#DF8B56 #DFCF56 #AADF56
triadic
#DFCF56 #56DFCF #CF56DF
tetradic
#DFCF56 #56DF8B #5666DF #DF56AA
square
#DFCF56 #56DF8B #5666DF #DF56AA
split-complementary
#DFCF56 #56AADF #8B56DF
monochromatic
#9D8E1E #D0BD27 #DFCF56 #E9DE89 #F2ECBD

Accessibility & contrast

On white

1.59
#DFCF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#DFCF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCF56
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCF56#FFFFFF#000000##000000
##DFCF561.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C948
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#EFC2B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #dfcf56;
/* rgb */ color: rgb(223, 207, 86);
/* oklch */ color: oklch(84.5% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#ecdd8a',
    500: '#dfcf56',
    950: '#000000',
  },
}
SCSS
$custom: #dfcf56;
$custom-light: #ecdd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcf56",
  "rgb": {
    "r": 223,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 52.993,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.84501,
    "c": 0.14118,
    "h": 101.8
  },
  "luminance": 0.60986
}

Semantic roles & 50–950 ramp

primary
#DFCF56
secondary
#3945A0
accent
#2BD015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFCF56

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

Preview Lab → · Contrast checker → · Palette generator →

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