#DFC548#DFC548

#DFC548 is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.3% C 0.144 H 97.3°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#DFC548
RGBrgb(223, 197, 72)
HSLhsl(50, 70%, 58%)
HSVhsv(50, 68%, 87%)
CMYKcmyk(0%, 11.7%, 67.7%, 12.5%)
CIE-LABlab(79.67, -4.54, 63.42)
CIE-LCHlch(79.67, 63.58, 94.10°)
OKLaboklab(82.32% -0.0182 0.1424)
OKLCHoklch(82.32% 0.144 97.3)
XYZxyz(51.5698, 56.0909, 14.2399)
Luminance0.5609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC548 #4862DF
analogous
#DF7948 #DFC548 #ADDF48
triadic
#DFC548 #48DFC5 #C548DF
tetradic
#DFC548 #48DF79 #4862DF #DF48AD
square
#DFC548 #48DF79 #4862DF #DF48AD
split-complementary
#DFC548 #48ADDF #7948DF
monochromatic
#937E1A #C7AB23 #DFC548 #E8D67C #F1E6B0

Accessibility & contrast

On white

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

On black

12.22
#DFC548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC548
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC548#FFFFFF#000000##000000
##DFC5481.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C037
Deuteranopia (green-blind)
#DFC94F
Tritanopia (blue-blind)
#F0B7AB
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dfc548;
/* rgb */ color: rgb(223, 197, 72);
/* oklch */ color: oklch(82.3% 0.144 97.3);
Tailwind
colors: {
  custom: {
    50: '#edd681',
    500: '#dfc548',
    950: '#000000',
  },
}
SCSS
$custom: #dfc548;
$custom-light: #edd681;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc548",
  "rgb": {
    "r": 223,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 49.669,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82319,
    "c": 0.14356,
    "h": 97.3
  },
  "luminance": 0.56088
}

Semantic roles & 50–950 ramp

primary
#DFC548
secondary
#344598
accent
#59ED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC548

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

Preview Lab → · Contrast checker → · Palette generator →

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