#DFD157#DFD157

#DFD157 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.9% C 0.142 H 102.8°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#DFD157
RGBrgb(223, 209, 87)
HSLhsl(54, 68%, 61%)
HSVhsv(54, 61%, 87%)
CMYKcmyk(0%, 6.3%, 61%, 12.5%)
CIE-LABlab(82.90, -9.76, 60.59)
CIE-LCHlch(82.90, 61.37, 99.15°)
OKLaboklab(84.93% -0.0315 0.1387)
OKLCHoklch(84.93% 0.142 102.8)
XYZxyz(54.9542, 61.9791, 18.0834)
Luminance0.6198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD157 #5765DF
analogous
#DF8D57 #DFD157 #A9DF57
triadic
#DFD157 #57DFD1 #D157DF
tetradic
#DFD157 #57DF8D #5765DF #DF57A9
square
#DFD157 #57DF8D #5765DF #DF57A9
split-complementary
#DFD157 #57A9DF #8D57DF
monochromatic
#9E901E #D1C028 #DFD157 #E9DF8A #F3EDBE

Accessibility & contrast

On white

1.57
#DFD157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#DFD157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD157
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD157#FFFFFF#000000##000000
##DFD1571.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB49
Deuteranopia (green-blind)
#E7D15E
Tritanopia (blue-blind)
#EFC4B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfd157;
/* rgb */ color: rgb(223, 209, 87);
/* oklch */ color: oklch(84.9% 0.142 102.8);
Tailwind
colors: {
  custom: {
    50: '#ecde8b',
    500: '#dfd157',
    950: '#000000',
  },
}
SCSS
$custom: #dfd157;
$custom-light: #ecde8b;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd157",
  "rgb": {
    "r": 223,
    "g": 209,
    "b": 87
  },
  "hsl": {
    "h": 53.824,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84925,
    "c": 0.14217,
    "h": 102.8
  },
  "luminance": 0.61977
}

Semantic roles & 50–950 ramp

primary
#DFD157
secondary
#3944A1
accent
#29D016
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD157

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

Preview Lab → · Contrast checker → · Palette generator →

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