#DFC557#DFC557

#DFC557 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.5% C 0.132 H 96.0°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#DFC557
RGBrgb(223, 197, 87)
HSLhsl(49, 68%, 61%)
HSVhsv(49, 61%, 87%)
CMYKcmyk(0%, 11.7%, 61%, 12.5%)
CIE-LABlab(79.79, -3.64, 57.17)
CIE-LCHlch(79.79, 57.29, 93.64°)
OKLaboklab(82.46% -0.0139 0.1314)
OKLCHoklch(82.46% 0.132 96)
XYZxyz(52.1202, 56.3111, 17.1387)
Luminance0.5631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC557 #5771DF
analogous
#DF8157 #DFC557 #B5DF57
triadic
#DFC557 #57DFC5 #C557DF
tetradic
#DFC557 #57DF81 #5771DF #DF57B5
square
#DFC557 #57DF81 #5771DF #DF57B5
split-complementary
#DFC557 #57B5DF #8157DF
monochromatic
#9E851E #D1B128 #DFC557 #E9D78A #F3E8BE

Accessibility & contrast

On white

1.71
#DFC557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#DFC557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC557
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC557#FFFFFF#000000##000000
##DFC5571.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14B
Deuteranopia (green-blind)
#DEC95C
Tritanopia (blue-blind)
#EFB7AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc557;
/* rgb */ color: rgb(223, 197, 87);
/* oklch */ color: oklch(82.5% 0.132 96.0);
Tailwind
colors: {
  custom: {
    50: '#ecd68a',
    500: '#dfc557',
    950: '#000000',
  },
}
SCSS
$custom: #dfc557;
$custom-light: #ecd68a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc557",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 48.529,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82458,
    "c": 0.13212,
    "h": 96
  },
  "luminance": 0.56309
}

Semantic roles & 50–950 ramp

primary
#DFC557
secondary
#394DA1
accent
#39D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC557

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

Preview Lab → · Contrast checker → · Palette generator →

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