#DFC657#DFC657

#DFC657 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.7% C 0.133 H 96.7°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#DFC657
RGBrgb(223, 198, 87)
HSLhsl(49, 68%, 61%)
HSVhsv(49, 61%, 87%)
CMYKcmyk(0%, 11.2%, 61%, 12.5%)
CIE-LABlab(80.05, -4.15, 57.45)
CIE-LCHlch(80.05, 57.60, 94.13°)
OKLaboklab(82.66% -0.0154 0.132)
OKLCHoklch(82.66% 0.133 96.7)
XYZxyz(52.3480, 56.7667, 17.2147)
Luminance0.5676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC657 #5770DF
analogous
#DF8257 #DFC657 #B4DF57
triadic
#DFC657 #57DFC6 #C657DF
tetradic
#DFC657 #57DF82 #5770DF #DF57B4
square
#DFC657 #57DF82 #5770DF #DF57B4
split-complementary
#DFC657 #57B4DF #8257DF
monochromatic
#9E861E #D1B228 #DFC657 #E9D78A #F3E9BE

Accessibility & contrast

On white

1.70
#DFC657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#DFC657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC657
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC657#FFFFFF#000000##000000
##DFC6571.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24B
Deuteranopia (green-blind)
#DFCA5C
Tritanopia (blue-blind)
#EFB8AE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc657;
/* rgb */ color: rgb(223, 198, 87);
/* oklch */ color: oklch(82.7% 0.133 96.7);
Tailwind
colors: {
  custom: {
    50: '#ecd78a',
    500: '#dfc657',
    950: '#000000',
  },
}
SCSS
$custom: #dfc657;
$custom-light: #ecd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc657",
  "rgb": {
    "r": 223,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 48.971,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82662,
    "c": 0.13289,
    "h": 96.7
  },
  "luminance": 0.56764
}

Semantic roles & 50–950 ramp

primary
#DFC657
secondary
#394CA1
accent
#38D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC657

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

Preview Lab → · Contrast checker → · Palette generator →

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