#DFC457#DFC457

#DFC457 is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.3% C 0.131 H 95.4°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#DFC457
RGBrgb(223, 196, 87)
HSLhsl(48, 68%, 61%)
HSVhsv(48, 61%, 87%)
CMYKcmyk(0%, 12.1%, 61%, 12.5%)
CIE-LABlab(79.53, -3.12, 56.88)
CIE-LCHlch(79.53, 56.97, 93.14°)
OKLaboklab(82.26% -0.0124 0.1308)
OKLCHoklch(82.26% 0.131 95.4)
XYZxyz(51.8939, 55.8585, 17.0633)
Luminance0.5586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC457 #5772DF
analogous
#DF8057 #DFC457 #B6DF57
triadic
#DFC457 #57DFC4 #C457DF
tetradic
#DFC457 #57DF80 #5772DF #DF57B6
square
#DFC457 #57DF80 #5772DF #DF57B6
split-complementary
#DFC457 #57B6DF #8057DF
monochromatic
#9E841E #D1AF28 #DFC457 #E9D68A #F3E8BE

Accessibility & contrast

On white

1.73
#DFC457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#DFC457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC457
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC457#FFFFFF#000000##000000
##DFC4571.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04B
Deuteranopia (green-blind)
#DDC95C
Tritanopia (blue-blind)
#EFB6AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dfc457;
/* rgb */ color: rgb(223, 196, 87);
/* oklch */ color: oklch(82.3% 0.131 95.4);
Tailwind
colors: {
  custom: {
    50: '#ecd58a',
    500: '#dfc457',
    950: '#000000',
  },
}
SCSS
$custom: #dfc457;
$custom-light: #ecd58a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc457",
  "rgb": {
    "r": 223,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 48.088,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82255,
    "c": 0.13136,
    "h": 95.4
  },
  "luminance": 0.55856
}

Semantic roles & 50–950 ramp

primary
#DFC457
secondary
#394EA1
accent
#3BD016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC457

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

Preview Lab → · Contrast checker → · Palette generator →

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