#DFC24C#DFC24C

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

Color values

HEX#DFC24C
RGBrgb(223, 194, 76)
HSLhsl(48, 70%, 59%)
HSVhsv(48, 66%, 87%)
CMYKcmyk(0%, 13%, 65.9%, 12.5%)
CIE-LABlab(78.92, -2.77, 61.00)
CIE-LCHlch(78.92, 61.07, 92.60°)
OKLaboklab(81.74% -0.0127 0.1379)
OKLCHoklch(81.74% 0.139 95.3)
XYZxyz(51.0301, 54.7960, 14.7249)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC24C #4C69DF
analogous
#DF784C #DFC24C #B2DF4C
triadic
#DFC24C #4CDFC2 #C24CDF
tetradic
#DFC24C #4CDF78 #4C69DF #DF4CB2
square
#DFC24C #4CDF78 #4C69DF #DF4CB2
split-complementary
#DFC24C #4CB2DF #784CDF
monochromatic
#967E1B #CAA924 #DFC24C #E8D480 #F2E5B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC24C#FFFFFF#000000##000000
##DFC24C1.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)
#D5BE3D
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#F0B4A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc24c;
/* rgb */ color: rgb(223, 194, 76);
/* oklch */ color: oklch(81.7% 0.139 95.3);
Tailwind
colors: {
  custom: {
    50: '#edd484',
    500: '#dfc24c',
    950: '#000000',
  },
}
SCSS
$custom: #dfc24c;
$custom-light: #edd484;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc24c",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 76
  },
  "hsl": {
    "h": 48.163,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81742,
    "c": 0.13852,
    "h": 95.3
  },
  "luminance": 0.54793
}

Semantic roles & 50–950 ramp

primary
#DFC24C
secondary
#35499A
accent
#5EEC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC24C

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

Preview Lab → · Contrast checker → · Palette generator →

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