#DFD24E#DFD24E

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

Color values

HEX#DFD24E
RGBrgb(223, 210, 78)
HSLhsl(55, 69%, 59%)
HSVhsv(55, 65%, 87%)
CMYKcmyk(0%, 5.8%, 65%, 12.5%)
CIE-LABlab(83.09, -10.82, 64.55)
CIE-LCHlch(83.09, 65.45, 99.52°)
OKLaboklab(85.05% -0.0355 0.1457)
OKLCHoklch(85.05% 0.15 103.7)
XYZxyz(54.8553, 62.3333, 16.3483)
Luminance0.6233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD24E #4E5BDF
analogous
#DF8A4E #DFD24E #A4DF4E
triadic
#DFD24E #4EDFD2 #D24EDF
tetradic
#DFD24E #4EDF8A #4E5BDF #DF4EA4
square
#DFD24E #4EDF8A #4E5BDF #DF4EA4
split-complementary
#DFD24E #4EA4DF #8A4EDF
monochromatic
#978C1B #CBBC25 #DFD24E #E8DF82 #F2ECB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFD24E#FFFFFF#000000##000000
##DFD24E1.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)
#E4CB3D
Deuteranopia (green-blind)
#E8D256
Tritanopia (blue-blind)
#EFC4B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd24e;
/* rgb */ color: rgb(223, 210, 78);
/* oklch */ color: oklch(85.1% 0.150 103.7);
Tailwind
colors: {
  custom: {
    50: '#ecdf86',
    500: '#dfd24e',
    950: '#000000',
  },
}
SCSS
$custom: #dfd24e;
$custom-light: #ecdf86;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd24e",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 78
  },
  "hsl": {
    "h": 54.621,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85051,
    "c": 0.14998,
    "h": 103.7
  },
  "luminance": 0.62331
}

Semantic roles & 50–950 ramp

primary
#DFD24E
secondary
#363F9B
accent
#4BEC3C
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD24E

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

Preview Lab → · Contrast checker → · Palette generator →

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