#DFC24E#DFC24E

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

Color values

HEX#DFC24E
RGBrgb(223, 194, 78)
HSLhsl(48, 69%, 59%)
HSVhsv(48, 65%, 87%)
CMYKcmyk(0%, 13%, 65%, 12.5%)
CIE-LABlab(78.94, -2.66, 60.17)
CIE-LCHlch(78.94, 60.23, 92.53°)
OKLaboklab(81.76% -0.0122 0.1365)
OKLCHoklch(81.76% 0.137 95.1)
XYZxyz(51.1008, 54.8242, 15.0968)
Luminance0.5482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC24E #4E6BDF
analogous
#DF7A4E #DFC24E #B4DF4E
triadic
#DFC24E #4EDFC2 #C24EDF
tetradic
#DFC24E #4EDF7A #4E6BDF #DF4EB4
square
#DFC24E #4EDF7A #4E6BDF #DF4EB4
split-complementary
#DFC24E #4EB4DF #7A4EDF
monochromatic
#977E1B #CBAA25 #DFC24E #E8D482 #F2E6B6

Accessibility & contrast

On white

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

On black

11.96
#DFC24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC24E
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC24E#FFFFFF#000000##000000
##DFC24E1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc24e;
/* rgb */ color: rgb(223, 194, 78);
/* oklch */ color: oklch(81.8% 0.137 95.1);
Tailwind
colors: {
  custom: {
    50: '#ecd485',
    500: '#dfc24e',
    950: '#000000',
  },
}
SCSS
$custom: #dfc24e;
$custom-light: #ecd485;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc24e",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 78
  },
  "hsl": {
    "h": 48,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8176,
    "c": 0.13702,
    "h": 95.1
  },
  "luminance": 0.54822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC24E

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

Preview Lab → · Contrast checker → · Palette generator →

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