#DFCB56#DFCB56

#DFCB56 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.7% C 0.138 H 99.6°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#DFCB56
RGBrgb(223, 203, 86)
HSLhsl(51, 68%, 61%)
HSVhsv(51, 61%, 87%)
CMYKcmyk(0%, 9%, 61.4%, 12.5%)
CIE-LABlab(81.33, -6.78, 59.31)
CIE-LCHlch(81.33, 59.69, 96.52°)
OKLaboklab(83.68% -0.0231 0.1358)
OKLCHoklch(83.68% 0.138 99.6)
XYZxyz(53.4692, 59.0740, 17.3883)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCB56 #566ADF
analogous
#DF8656 #DFCB56 #AEDF56
triadic
#DFCB56 #56DFCB #CB56DF
tetradic
#DFCB56 #56DF86 #566ADF #DF56AE
square
#DFCB56 #56DF86 #566ADF #DF56AE
split-complementary
#DFCB56 #56AEDF #8656DF
monochromatic
#9D8A1E #D0B827 #DFCB56 #E9DB89 #F2EBBD

Accessibility & contrast

On white

1.64
#DFCB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#DFCB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCB56
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCB56#FFFFFF#000000##000000
##DFCB561.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC649
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#EFBDB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dfcb56;
/* rgb */ color: rgb(223, 203, 86);
/* oklch */ color: oklch(83.7% 0.138 99.6);
Tailwind
colors: {
  custom: {
    50: '#ecda8a',
    500: '#dfcb56',
    950: '#000000',
  },
}
SCSS
$custom: #dfcb56;
$custom-light: #ecda8a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfcb56",
  "rgb": {
    "r": 223,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 51.241,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83676,
    "c": 0.13773,
    "h": 99.6
  },
  "luminance": 0.59072
}

Semantic roles & 50–950 ramp

primary
#DFCB56
secondary
#3948A0
accent
#31D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCB56

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

Preview Lab → · Contrast checker → · Palette generator →

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