#DFC248#DFC248

#DFC248 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.7% C 0.141 H 95.6°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#DFC248
RGBrgb(223, 194, 72)
HSLhsl(48, 70%, 58%)
HSVhsv(48, 68%, 87%)
CMYKcmyk(0%, 13%, 67.7%, 12.5%)
CIE-LABlab(78.89, -3.00, 62.63)
CIE-LCHlch(78.89, 62.70, 92.74°)
OKLaboklab(81.71% -0.0138 0.1407)
OKLCHoklch(81.71% 0.141 95.6)
XYZxyz(50.8954, 54.7421, 14.0151)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC248 #4865DF
analogous
#DF7648 #DFC248 #B0DF48
triadic
#DFC248 #48DFC2 #C248DF
tetradic
#DFC248 #48DF76 #4865DF #DF48B0
square
#DFC248 #48DF76 #4865DF #DF48B0
split-complementary
#DFC248 #48B0DF #7648DF
monochromatic
#937C1A #C7A723 #DFC248 #E8D37C #F1E5B0

Accessibility & contrast

On white

1.76
#DFC248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#DFC248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC248
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC248#FFFFFF#000000##000000
##DFC2481.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE38
Deuteranopia (green-blind)
#DDC74F
Tritanopia (blue-blind)
#F0B4A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc248;
/* rgb */ color: rgb(223, 194, 72);
/* oklch */ color: oklch(81.7% 0.141 95.6);
Tailwind
colors: {
  custom: {
    50: '#edd481',
    500: '#dfc248',
    950: '#000000',
  },
}
SCSS
$custom: #dfc248;
$custom-light: #edd481;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc248",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 72
  },
  "hsl": {
    "h": 48.477,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81707,
    "c": 0.14139,
    "h": 95.6
  },
  "luminance": 0.54739
}

Semantic roles & 50–950 ramp

primary
#DFC248
secondary
#344798
accent
#5DED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC248

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

Preview Lab → · Contrast checker → · Palette generator →

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