#DFDA51#DFDA51

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

Color values

HEX#DFDA51
RGBrgb(223, 218, 81)
HSLhsl(58, 69%, 60%)
HSVhsv(58, 64%, 87%)
CMYKcmyk(0%, 2.2%, 63.7%, 12.5%)
CIE-LABlab(85.21, -14.64, 65.55)
CIE-LCHlch(85.21, 67.17, 102.59°)
OKLaboklab(86.75% -0.046 0.1483)
OKLCHoklch(86.75% 0.155 107.2)
XYZxyz(56.9900, 66.4267, 17.6026)
Luminance0.6643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDA51 #5156DF
analogous
#DF9351 #DFDA51 #9DDF51
triadic
#DFDA51 #51DFDA #DA51DF
tetradic
#DFDA51 #51DF93 #5156DF #DF519D
square
#DFDA51 #51DF93 #5156DF #DF519D
split-complementary
#DFDA51 #519DDF #9351DF
monochromatic
#99951C #CDC726 #DFDA51 #E9E585 #F2F0B8

Accessibility & contrast

On white

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

On black

14.29
#DFDA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDA51
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDA51#FFFFFF#000000##000000
##DFDA511.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#EECCBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dfda51;
/* rgb */ color: rgb(223, 218, 81);
/* oklch */ color: oklch(86.7% 0.155 107.2);
Tailwind
colors: {
  custom: {
    50: '#ece588',
    500: '#dfda51',
    950: '#000000',
  },
}
SCSS
$custom: #dfda51;
$custom-light: #ece588;
$custom-dark: #000000;
JSON
{
  "hex": "#dfda51",
  "rgb": {
    "r": 223,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 57.887,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86749,
    "c": 0.15527,
    "h": 107.2
  },
  "luminance": 0.66425
}

Semantic roles & 50–950 ramp

primary
#DFDA51
secondary
#373B9D
accent
#42EC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFDA51

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

Preview Lab → · Contrast checker → · Palette generator →

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