#DFC24D#DFC24D

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

Color values

HEX#DFC24D
RGBrgb(223, 194, 77)
HSLhsl(48, 70%, 59%)
HSVhsv(48, 65%, 87%)
CMYKcmyk(0%, 13%, 65.5%, 12.5%)
CIE-LABlab(78.93, -2.71, 60.59)
CIE-LCHlch(78.93, 60.65, 92.57°)
OKLaboklab(81.75% -0.0124 0.1372)
OKLCHoklch(81.75% 0.138 95.2)
XYZxyz(51.0652, 54.8100, 14.9094)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC24D #4D6ADF
analogous
#DF794D #DFC24D #B3DF4D
triadic
#DFC24D #4DDFC2 #C24DDF
tetradic
#DFC24D #4DDF79 #4D6ADF #DF4DB3
square
#DFC24D #4DDF79 #4D6ADF #DF4DB3
split-complementary
#DFC24D #4DB3DF #794DDF
monochromatic
#977E1B #CAA924 #DFC24D #E8D481 #F2E6B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC24D#FFFFFF#000000##000000
##DFC24D1.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)
#D5BE3F
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#F0B4A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc24d;
/* rgb */ color: rgb(223, 194, 77);
/* oklch */ color: oklch(81.8% 0.138 95.2);
Tailwind
colors: {
  custom: {
    50: '#ecd484',
    500: '#dfc24d',
    950: '#000000',
  },
}
SCSS
$custom: #dfc24d;
$custom-light: #ecd484;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc24d",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 77
  },
  "hsl": {
    "h": 48.082,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81751,
    "c": 0.13777,
    "h": 95.2
  },
  "luminance": 0.54807
}

Semantic roles & 50–950 ramp

primary
#DFC24D
secondary
#354A9B
accent
#5FEC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC24D

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

Preview Lab → · Contrast checker → · Palette generator →

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