#DFDF51#DFDF51

#DFDF51 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 87.8% C 0.160 H 109.3°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#DFDF51
RGBrgb(223, 223, 81)
HSLhsl(60, 69%, 60%)
HSVhsv(60, 64%, 87%)
CMYKcmyk(0%, 0%, 63.7%, 12.5%)
CIE-LABlab(86.53, -17.11, 66.93)
CIE-LCHlch(86.53, 69.08, 104.34°)
OKLaboklab(87.8% -0.0529 0.1512)
OKLCHoklch(87.8% 0.16 109.3)
XYZxyz(58.3062, 69.0591, 18.0413)
Luminance0.6906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFDF51 #5151DF
analogous
#DF9851 #DFDF51 #98DF51
triadic
#DFDF51 #51DFDF #DF51DF
tetradic
#DFDF51 #51DF98 #5151DF #DF5198
square
#DFDF51 #51DF98 #5151DF #DF5198
split-complementary
#DFDF51 #5198DF #9851DF
monochromatic
#99991C #CDCD26 #DFDF51 #E9E985 #F2F2B8

Accessibility & contrast

On white

1.42
#DFDF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#DFDF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFDF51
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFDF51#FFFFFF#000000##000000
##DFDF511.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63E
Deuteranopia (green-blind)
#F2DB5A
Tritanopia (blue-blind)
#EED2C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #dfdf51;
/* rgb */ color: rgb(223, 223, 81);
/* oklch */ color: oklch(87.8% 0.160 109.3);
Tailwind
colors: {
  custom: {
    50: '#ece889',
    500: '#dfdf51',
    950: '#000000',
  },
}
SCSS
$custom: #dfdf51;
$custom-light: #ece889;
$custom-dark: #000000;
JSON
{
  "hex": "#dfdf51",
  "rgb": {
    "r": 223,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 60,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.87801,
    "c": 0.16022,
    "h": 109.3
  },
  "luminance": 0.69057
}

Semantic roles & 50–950 ramp

primary
#DFDF51
secondary
#37379D
accent
#3CEC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #DFDF51

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

Preview Lab → · Contrast checker → · Palette generator →

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