#DFC54C#DFC54C

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

Color values

HEX#DFC54C
RGBrgb(223, 197, 76)
HSLhsl(49, 70%, 59%)
HSVhsv(49, 66%, 87%)
CMYKcmyk(0%, 11.7%, 65.9%, 12.5%)
CIE-LABlab(79.70, -4.32, 61.82)
CIE-LCHlch(79.70, 61.97, 94.00°)
OKLaboklab(82.35% -0.0172 0.1396)
OKLCHoklch(82.35% 0.141 97)
XYZxyz(51.7046, 56.1448, 14.9497)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC54C #4C66DF
analogous
#DF7B4C #DFC54C #AFDF4C
triadic
#DFC54C #4CDFC5 #C54CDF
tetradic
#DFC54C #4CDF7B #4C66DF #DF4CAF
square
#DFC54C #4CDF7B #4C66DF #DF4CAF
split-complementary
#DFC54C #4CAFDF #7B4CDF
monochromatic
#96801B #CAAC24 #DFC54C #E8D680 #F2E7B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC54C#FFFFFF#000000##000000
##DFC54C1.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)
#D8C13D
Deuteranopia (green-blind)
#DFC952
Tritanopia (blue-blind)
#F0B7AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dfc54c;
/* rgb */ color: rgb(223, 197, 76);
/* oklch */ color: oklch(82.4% 0.141 97.0);
Tailwind
colors: {
  custom: {
    50: '#ecd684',
    500: '#dfc54c',
    950: '#000000',
  },
}
SCSS
$custom: #dfc54c;
$custom-light: #ecd684;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc54c",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 76
  },
  "hsl": {
    "h": 49.388,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82353,
    "c": 0.14069,
    "h": 97
  },
  "luminance": 0.56142
}

Semantic roles & 50–950 ramp

primary
#DFC54C
secondary
#35479A
accent
#5BEC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC54C

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

Preview Lab → · Contrast checker → · Palette generator →

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