#DFD24F#DFD24F

#DFD24F is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.1% C 0.149 H 103.6°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#DFD24F
RGBrgb(223, 210, 79)
HSLhsl(55, 69%, 59%)
HSVhsv(55, 65%, 87%)
CMYKcmyk(0%, 5.8%, 64.6%, 12.5%)
CIE-LABlab(83.10, -10.76, 64.15)
CIE-LCHlch(83.10, 65.04, 99.53°)
OKLaboklab(85.06% -0.0352 0.145)
OKLCHoklch(85.06% 0.149 103.6)
XYZxyz(54.8914, 62.3478, 16.5385)
Luminance0.6235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD24F #4F5CDF
analogous
#DF8A4F #DFD24F #A4DF4F
triadic
#DFD24F #4FDFD2 #D24FDF
tetradic
#DFD24F #4FDF8A #4F5CDF #DF4FA4
square
#DFD24F #4FDF8A #4F5CDF #DF4FA4
split-complementary
#DFD24F #4FA4DF #8A4FDF
monochromatic
#988D1C #CCBD25 #DFD24F #E8DF83 #F2ECB7

Accessibility & contrast

On white

1.56
#DFD24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#DFD24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD24F
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD24F#FFFFFF#000000##000000
##DFD24F1.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3E
Deuteranopia (green-blind)
#E8D257
Tritanopia (blue-blind)
#EFC4B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd24f;
/* rgb */ color: rgb(223, 210, 79);
/* oklch */ color: oklch(85.1% 0.149 103.6);
Tailwind
colors: {
  custom: {
    50: '#ecdf86',
    500: '#dfd24f',
    950: '#000000',
  },
}
SCSS
$custom: #dfd24f;
$custom-light: #ecdf86;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd24f",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 79
  },
  "hsl": {
    "h": 54.583,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.8506,
    "c": 0.14925,
    "h": 103.6
  },
  "luminance": 0.62346
}

Semantic roles & 50–950 ramp

primary
#DFD24F
secondary
#363F9C
accent
#4CEC3C
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD24F

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

Preview Lab → · Contrast checker → · Palette generator →

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