#DFCA56#DFCA56

#DFCA56 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.5% C 0.137 H 99.1°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#DFCA56
RGBrgb(223, 202, 86)
HSLhsl(51, 68%, 61%)
HSVhsv(51, 61%, 87%)
CMYKcmyk(0%, 9.4%, 61.4%, 12.5%)
CIE-LABlab(81.07, -6.27, 59.02)
CIE-LCHlch(81.07, 59.35, 96.06°)
OKLaboklab(83.47% -0.0216 0.1352)
OKLCHoklch(83.47% 0.137 99.1)
XYZxyz(53.2338, 58.6032, 17.3098)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFCA56 #566BDF
analogous
#DF8556 #DFCA56 #AFDF56
triadic
#DFCA56 #56DFCA #CA56DF
tetradic
#DFCA56 #56DF85 #566BDF #DF56AF
square
#DFCA56 #56DF85 #566BDF #DF56AF
split-complementary
#DFCA56 #56AFDF #8556DF
monochromatic
#9D891E #D0B627 #DFCA56 #E9DA89 #F2EABD

Accessibility & contrast

On white

1.65
#DFCA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#DFCA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFCA56
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFCA56#FFFFFF#000000##000000
##DFCA561.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC549
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#EFBCB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfca56;
/* rgb */ color: rgb(223, 202, 86);
/* oklch */ color: oklch(83.5% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#ecd98a',
    500: '#dfca56',
    950: '#000000',
  },
}
SCSS
$custom: #dfca56;
$custom-light: #ecd98a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfca56",
  "rgb": {
    "r": 223,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 50.803,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83471,
    "c": 0.1369,
    "h": 99.1
  },
  "luminance": 0.58601
}

Semantic roles & 50–950 ramp

primary
#DFCA56
secondary
#3949A0
accent
#32D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFCA56

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

Preview Lab → · Contrast checker → · Palette generator →

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