#DFC24F#DFC24F

#DFC24F is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.8% C 0.136 H 95.0°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#DFC24F
RGBrgb(223, 194, 79)
HSLhsl(48, 69%, 59%)
HSVhsv(48, 65%, 87%)
CMYKcmyk(0%, 13%, 64.6%, 12.5%)
CIE-LABlab(78.95, -2.60, 59.76)
CIE-LCHlch(78.95, 59.81, 92.49°)
OKLaboklab(81.77% -0.0119 0.1357)
OKLCHoklch(81.77% 0.136 95)
XYZxyz(51.1369, 54.8387, 15.2870)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC24F #4F6CDF
analogous
#DF7A4F #DFC24F #B4DF4F
triadic
#DFC24F #4FDFC2 #C24FDF
tetradic
#DFC24F #4FDF7A #4F6CDF #DF4FB4
square
#DFC24F #4FDF7A #4F6CDF #DF4FB4
split-complementary
#DFC24F #4FB4DF #7A4FDF
monochromatic
#987F1C #CCAA25 #DFC24F #E8D483 #F2E6B7

Accessibility & contrast

On white

1.75
#DFC24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#DFC24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC24F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC24F#FFFFFF#000000##000000
##DFC24F1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE41
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#F0B4AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc24f;
/* rgb */ color: rgb(223, 194, 79);
/* oklch */ color: oklch(81.8% 0.136 95.0);
Tailwind
colors: {
  custom: {
    50: '#ecd485',
    500: '#dfc24f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc24f;
$custom-light: #ecd485;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc24f",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 47.917,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.81769,
    "c": 0.13626,
    "h": 95
  },
  "luminance": 0.54836
}

Semantic roles & 50–950 ramp

primary
#DFC24F
secondary
#364B9C
accent
#5FEC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC24F

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

Preview Lab → · Contrast checker → · Palette generator →

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