#DFDA4C#DFDA4C

#DFDA4C is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.7% C 0.159 H 107.3°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#DFDA4C
RGBrgb(223, 218, 76)
HSLhsl(58, 70%, 59%)
HSVhsv(58, 66%, 87%)
CMYKcmyk(0%, 2.2%, 65.9%, 12.5%)
CIE-LABlab(85.18, -14.93, 67.49)
CIE-LCHlch(85.18, 69.12, 102.47°)
OKLaboklab(86.71% -0.0473 0.1516)
OKLCHoklch(86.71% 0.159 107.3)
XYZxyz(56.8094, 66.3544, 16.6513)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDA4C #4C51DF
analogous
#DF904C #DFDA4C #9ADF4C
triadic
#DFDA4C #4CDFDA #DA4CDF
tetradic
#DFDA4C #4CDF90 #4C51DF #DF4C9A
square
#DFDA4C #4CDF90 #4C51DF #DF4C9A
split-complementary
#DFDA4C #4C9ADF #904CDF
monochromatic
#96921B #CAC424 #DFDA4C #E8E580 #F2EFB4

Accessibility & contrast

On white

1.47
#DFDA4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#DFDA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDA4C
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDA4C#FFFFFF#000000##000000
##DFDA4C1.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD238
Deuteranopia (green-blind)
#EED755
Tritanopia (blue-blind)
#EFCCBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfda4c;
/* rgb */ color: rgb(223, 218, 76);
/* oklch */ color: oklch(86.7% 0.159 107.3);
Tailwind
colors: {
  custom: {
    50: '#ece585',
    500: '#dfda4c',
    950: '#000000',
  },
}
SCSS
$custom: #dfda4c;
$custom-light: #ece585;
$custom-dark: #000000;
JSON
{
  "hex": "#dfda4c",
  "rgb": {
    "r": 223,
    "g": 218,
    "b": 76
  },
  "hsl": {
    "h": 57.959,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86708,
    "c": 0.15884,
    "h": 107.3
  },
  "luminance": 0.66353
}

Semantic roles & 50–950 ramp

primary
#DFDA4C
secondary
#35399A
accent
#41EC3B
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFDA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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