#DFD54E#DFD54E

#DFD54E is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.7% C 0.153 H 105.1°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#DFD54E
RGBrgb(223, 213, 78)
HSLhsl(56, 69%, 59%)
HSVhsv(56, 65%, 87%)
CMYKcmyk(0%, 4.5%, 65%, 12.5%)
CIE-LABlab(83.88, -12.33, 65.36)
CIE-LCHlch(83.88, 66.52, 100.68°)
OKLaboklab(85.68% -0.0397 0.1475)
OKLCHoklch(85.68% 0.153 105.1)
XYZxyz(55.6029, 63.8285, 16.5975)
Luminance0.6383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD54E #4E58DF
analogous
#DF8D4E #DFD54E #A1DF4E
triadic
#DFD54E #4EDFD5 #D54EDF
tetradic
#DFD54E #4EDF8D #4E58DF #DF4EA1
square
#DFD54E #4EDF8D #4E58DF #DF4EA1
split-complementary
#DFD54E #4EA1DF #8D4EDF
monochromatic
#978F1B #CBC025 #DFD54E #E8E182 #F2EEB6

Accessibility & contrast

On white

1.53
#DFD54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#DFD54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD54E
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD54E#FFFFFF#000000##000000
##DFD54E1.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3C
Deuteranopia (green-blind)
#EAD456
Tritanopia (blue-blind)
#EFC7B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dfd54e;
/* rgb */ color: rgb(223, 213, 78);
/* oklch */ color: oklch(85.7% 0.153 105.1);
Tailwind
colors: {
  custom: {
    50: '#ece186',
    500: '#dfd54e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd54e;
$custom-light: #ece186;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd54e",
  "rgb": {
    "r": 223,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 55.862,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85677,
    "c": 0.15272,
    "h": 105.1
  },
  "luminance": 0.63827
}

Semantic roles & 50–950 ramp

primary
#DFD54E
secondary
#363D9B
accent
#48EC3C
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD54E

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

Preview Lab → · Contrast checker → · Palette generator →

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