#DFC54E#DFC54E

#DFC54E is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.4% C 0.139 H 96.8°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#DFC54E
RGBrgb(223, 197, 78)
HSLhsl(49, 69%, 59%)
HSVhsv(49, 65%, 87%)
CMYKcmyk(0%, 11.7%, 65%, 12.5%)
CIE-LABlab(79.71, -4.20, 60.99)
CIE-LCHlch(79.71, 61.14, 93.94°)
OKLaboklab(82.37% -0.0166 0.1382)
OKLCHoklch(82.37% 0.139 96.8)
XYZxyz(51.7752, 56.1731, 15.3216)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC54E #4E68DF
analogous
#DF7D4E #DFC54E #B1DF4E
triadic
#DFC54E #4EDFC5 #C54EDF
tetradic
#DFC54E #4EDF7D #4E68DF #DF4EB1
square
#DFC54E #4EDF7D #4E68DF #DF4EB1
split-complementary
#DFC54E #4EB1DF #7D4EDF
monochromatic
#97811B #CBAD25 #DFC54E #E8D682 #F2E7B6

Accessibility & contrast

On white

1.72
#DFC54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#DFC54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC54E
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC54E#FFFFFF#000000##000000
##DFC54E1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13F
Deuteranopia (green-blind)
#DFC954
Tritanopia (blue-blind)
#F0B7AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc54e;
/* rgb */ color: rgb(223, 197, 78);
/* oklch */ color: oklch(82.4% 0.139 96.8);
Tailwind
colors: {
  custom: {
    50: '#ecd685',
    500: '#dfc54e',
    950: '#000000',
  },
}
SCSS
$custom: #dfc54e;
$custom-light: #ecd685;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc54e",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 78
  },
  "hsl": {
    "h": 49.241,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82371,
    "c": 0.13921,
    "h": 96.8
  },
  "luminance": 0.56171
}

Semantic roles & 50–950 ramp

primary
#DFC54E
secondary
#36489B
accent
#5BEC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC54E

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

Preview Lab → · Contrast checker → · Palette generator →

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