#DFC857#DFC857

#DFC857 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.1% C 0.134 H 97.8°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#DFC857
RGBrgb(223, 200, 87)
HSLhsl(50, 68%, 61%)
HSVhsv(50, 61%, 87%)
CMYKcmyk(0%, 10.3%, 61%, 12.5%)
CIE-LABlab(80.56, -5.18, 58.02)
CIE-LCHlch(80.56, 58.26, 95.10°)
OKLaboklab(83.07% -0.0184 0.1332)
OKLCHoklch(83.07% 0.134 97.8)
XYZxyz(52.8082, 57.6870, 17.3681)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC857 #576EDF
analogous
#DF8457 #DFC857 #B2DF57
triadic
#DFC857 #57DFC8 #C857DF
tetradic
#DFC857 #57DF84 #576EDF #DF57B2
square
#DFC857 #57DF84 #576EDF #DF57B2
split-complementary
#DFC857 #57B2DF #8457DF
monochromatic
#9E881E #D1B428 #DFC857 #E9D98A #F3EABE

Accessibility & contrast

On white

1.68
#DFC857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#DFC857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC857
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC857#FFFFFF#000000##000000
##DFC8571.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34B
Deuteranopia (green-blind)
#E0CB5D
Tritanopia (blue-blind)
#EFBAB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc857;
/* rgb */ color: rgb(223, 200, 87);
/* oklch */ color: oklch(83.1% 0.134 97.8);
Tailwind
colors: {
  custom: {
    50: '#ecd88b',
    500: '#dfc857',
    950: '#000000',
  },
}
SCSS
$custom: #dfc857;
$custom-light: #ecd88b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc857",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 49.853,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83071,
    "c": 0.13446,
    "h": 97.8
  },
  "luminance": 0.57685
}

Semantic roles & 50–950 ramp

primary
#DFC857
secondary
#394BA1
accent
#35D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC857

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

Preview Lab → · Contrast checker → · Palette generator →

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