#DFC54D#DFC54D

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

Color values

HEX#DFC54D
RGBrgb(223, 197, 77)
HSLhsl(49, 70%, 59%)
HSVhsv(49, 65%, 87%)
CMYKcmyk(0%, 11.7%, 65.5%, 12.5%)
CIE-LABlab(79.70, -4.26, 61.41)
CIE-LCHlch(79.70, 61.55, 93.97°)
OKLaboklab(82.36% -0.0169 0.1389)
OKLCHoklch(82.36% 0.14 96.9)
XYZxyz(51.7396, 56.1588, 15.1342)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC54D #4D67DF
analogous
#DF7C4D #DFC54D #B0DF4D
triadic
#DFC54D #4DDFC5 #C54DDF
tetradic
#DFC54D #4DDF7C #4D67DF #DF4DB0
square
#DFC54D #4DDF7C #4D67DF #DF4DB0
split-complementary
#DFC54D #4DB0DF #7C4DDF
monochromatic
#97811B #CAAD24 #DFC54D #E8D681 #F2E7B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC54D#FFFFFF#000000##000000
##DFC54D1.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)
#D8C13E
Deuteranopia (green-blind)
#DFC953
Tritanopia (blue-blind)
#F0B7AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfc54d;
/* rgb */ color: rgb(223, 197, 77);
/* oklch */ color: oklch(82.4% 0.140 96.9);
Tailwind
colors: {
  custom: {
    50: '#ecd684',
    500: '#dfc54d',
    950: '#000000',
  },
}
SCSS
$custom: #dfc54d;
$custom-light: #ecd684;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc54d",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 49.315,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82362,
    "c": 0.13996,
    "h": 96.9
  },
  "luminance": 0.56156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC54D

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

Preview Lab → · Contrast checker → · Palette generator →

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