#DFC357#DFC357

#DFC357 is a very light, vivid yellow. Relative luminance 0.554; OKLCH L 82.1% C 0.131 H 94.8°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#DFC357
RGBrgb(223, 195, 87)
HSLhsl(48, 68%, 61%)
HSVhsv(48, 61%, 87%)
CMYKcmyk(0%, 12.6%, 61%, 12.5%)
CIE-LABlab(79.28, -2.60, 56.60)
CIE-LCHlch(79.28, 56.66, 92.63°)
OKLaboklab(82.05% -0.0109 0.1302)
OKLCHoklch(82.05% 0.131 94.8)
XYZxyz(51.6691, 55.4088, 16.9884)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC357 #5773DF
analogous
#DF7F57 #DFC357 #B7DF57
triadic
#DFC357 #57DFC3 #C357DF
tetradic
#DFC357 #57DF7F #5773DF #DF57B7
square
#DFC357 #57DF7F #5773DF #DF57B7
split-complementary
#DFC357 #57B7DF #7F57DF
monochromatic
#9E831E #D1AE28 #DFC357 #E9D58A #F3E8BE

Accessibility & contrast

On white

1.74
#DFC357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#DFC357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC357
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC357#FFFFFF#000000##000000
##DFC3571.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4B
Deuteranopia (green-blind)
#DCC85C
Tritanopia (blue-blind)
#F0B5AB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dfc357;
/* rgb */ color: rgb(223, 195, 87);
/* oklch */ color: oklch(82.1% 0.131 94.8);
Tailwind
colors: {
  custom: {
    50: '#ecd48a',
    500: '#dfc357',
    950: '#000000',
  },
}
SCSS
$custom: #dfc357;
$custom-light: #ecd48a;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc357",
  "rgb": {
    "r": 223,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 47.647,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82051,
    "c": 0.13062,
    "h": 94.8
  },
  "luminance": 0.55406
}

Semantic roles & 50–950 ramp

primary
#DFC357
secondary
#394FA1
accent
#3CD016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC357

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

Preview Lab → · Contrast checker → · Palette generator →

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