#DFC957#DFC957

#DFC957 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.3% C 0.135 H 98.4°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#DFC957
RGBrgb(223, 201, 87)
HSLhsl(50, 68%, 61%)
HSVhsv(50, 61%, 87%)
CMYKcmyk(0%, 9.9%, 61%, 12.5%)
CIE-LABlab(80.82, -5.69, 58.31)
CIE-LCHlch(80.82, 58.59, 95.58°)
OKLaboklab(83.28% -0.0198 0.1338)
OKLCHoklch(83.28% 0.135 98.4)
XYZxyz(53.0405, 58.1517, 17.4455)
Luminance0.5815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC957 #576DDF
analogous
#DF8557 #DFC957 #B1DF57
triadic
#DFC957 #57DFC9 #C957DF
tetradic
#DFC957 #57DF85 #576DDF #DF57B1
square
#DFC957 #57DF85 #576DDF #DF57B1
split-complementary
#DFC957 #57B1DF #8557DF
monochromatic
#9E891E #D1B628 #DFC957 #E9DA8A #F3EABE

Accessibility & contrast

On white

1.66
#DFC957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#DFC957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC957
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC957#FFFFFF#000000##000000
##DFC9571.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44A
Deuteranopia (green-blind)
#E1CC5D
Tritanopia (blue-blind)
#EFBBB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dfc957;
/* rgb */ color: rgb(223, 201, 87);
/* oklch */ color: oklch(83.3% 0.135 98.4);
Tailwind
colors: {
  custom: {
    50: '#ecd98b',
    500: '#dfc957',
    950: '#000000',
  },
}
SCSS
$custom: #dfc957;
$custom-light: #ecd98b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc957",
  "rgb": {
    "r": 223,
    "g": 201,
    "b": 87
  },
  "hsl": {
    "h": 50.294,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83276,
    "c": 0.13527,
    "h": 98.4
  },
  "luminance": 0.58149
}

Semantic roles & 50–950 ramp

primary
#DFC957
secondary
#394AA1
accent
#34D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC957

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

Preview Lab → · Contrast checker → · Palette generator →

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