#DFC057#DFC057

#DFC057 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.4% C 0.129 H 92.9°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#DFC057
RGBrgb(223, 192, 87)
HSLhsl(46, 68%, 61%)
HSVhsv(46, 61%, 87%)
CMYKcmyk(0%, 13.9%, 61%, 12.5%)
CIE-LABlab(78.51, -1.05, 55.74)
CIE-LCHlch(78.51, 55.75, 91.08°)
OKLaboklab(81.44% -0.0065 0.1283)
OKLCHoklch(81.44% 0.129 92.9)
XYZxyz(51.0037, 54.0780, 16.7666)
Luminance0.5407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC057 #5776DF
analogous
#DF7C57 #DFC057 #BADF57
triadic
#DFC057 #57DFC0 #C057DF
tetradic
#DFC057 #57DF7C #5776DF #DF57BA
square
#DFC057 #57DF7C #5776DF #DF57BA
split-complementary
#DFC057 #57BADF #7C57DF
monochromatic
#9E811E #D1AA28 #DFC057 #E9D38A #F3E7BE

Accessibility & contrast

On white

1.78
#DFC057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#DFC057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC057
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC057#FFFFFF#000000##000000
##DFC0571.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4C
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#F0B2A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfc057;
/* rgb */ color: rgb(223, 192, 87);
/* oklch */ color: oklch(81.4% 0.129 92.9);
Tailwind
colors: {
  custom: {
    50: '#ecd28a',
    500: '#dfc057',
    950: '#000000',
  },
}
SCSS
$custom: #dfc057;
$custom-light: #ecd28a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc057",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 87
  },
  "hsl": {
    "h": 46.324,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81444,
    "c": 0.1285,
    "h": 92.9
  },
  "luminance": 0.54075
}

Semantic roles & 50–950 ramp

primary
#DFC057
secondary
#3951A1
accent
#40D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC057

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

Preview Lab → · Contrast checker → · Palette generator →

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