#DFC757#DFC757

#DFC757 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.9% C 0.134 H 97.3°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#DFC757
RGBrgb(223, 199, 87)
HSLhsl(49, 68%, 61%)
HSVhsv(49, 61%, 87%)
CMYKcmyk(0%, 10.8%, 61%, 12.5%)
CIE-LABlab(80.31, -4.67, 57.74)
CIE-LCHlch(80.31, 57.93, 94.62°)
OKLaboklab(82.87% -0.0169 0.1326)
OKLCHoklch(82.87% 0.134 97.3)
XYZxyz(52.5774, 57.2254, 17.2911)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC757 #576FDF
analogous
#DF8357 #DFC757 #B3DF57
triadic
#DFC757 #57DFC7 #C757DF
tetradic
#DFC757 #57DF83 #576FDF #DF57B3
square
#DFC757 #57DF83 #576FDF #DF57B3
split-complementary
#DFC757 #57B3DF #8357DF
monochromatic
#9E871E #D1B328 #DFC757 #E9D88A #F3E9BE

Accessibility & contrast

On white

1.69
#DFC757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#DFC757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC757
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC757#FFFFFF#000000##000000
##DFC7571.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34B
Deuteranopia (green-blind)
#DFCB5C
Tritanopia (blue-blind)
#EFB9AF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dfc757;
/* rgb */ color: rgb(223, 199, 87);
/* oklch */ color: oklch(82.9% 0.134 97.3);
Tailwind
colors: {
  custom: {
    50: '#ecd78b',
    500: '#dfc757',
    950: '#000000',
  },
}
SCSS
$custom: #dfc757;
$custom-light: #ecd78b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc757",
  "rgb": {
    "r": 223,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 49.412,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82866,
    "c": 0.13366,
    "h": 97.3
  },
  "luminance": 0.57223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC757

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

Preview Lab → · Contrast checker → · Palette generator →

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