#DFD051#DFD051

#DFD051 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.7% C 0.146 H 102.6°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#DFD051
RGBrgb(223, 208, 81)
HSLhsl(54, 69%, 60%)
HSVhsv(54, 64%, 87%)
CMYKcmyk(0%, 6.7%, 63.7%, 12.5%)
CIE-LABlab(82.59, -9.64, 62.79)
CIE-LCHlch(82.59, 63.53, 98.73°)
OKLaboklab(84.66% -0.0318 0.1425)
OKLCHoklch(84.66% 0.146 102.6)
XYZxyz(54.4746, 61.3960, 16.7641)
Luminance0.6139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD051 #5160DF
analogous
#DF8951 #DFD051 #A7DF51
triadic
#DFD051 #51DFD0 #D051DF
tetradic
#DFD051 #51DF89 #5160DF #DF51A7
square
#DFD051 #51DF89 #5160DF #DF51A7
split-complementary
#DFD051 #51A7DF #8951DF
monochromatic
#998C1C #CDBB26 #DFD051 #E9DE85 #F2ECB8

Accessibility & contrast

On white

1.58
#DFD051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#DFD051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD051
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD051#FFFFFF#000000##000000
##DFD0511.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA41
Deuteranopia (green-blind)
#E6D158
Tritanopia (blue-blind)
#EFC2B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dfd051;
/* rgb */ color: rgb(223, 208, 81);
/* oklch */ color: oklch(84.7% 0.146 102.6);
Tailwind
colors: {
  custom: {
    50: '#ecde88',
    500: '#dfd051',
    950: '#000000',
  },
}
SCSS
$custom: #dfd051;
$custom-light: #ecde88;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd051",
  "rgb": {
    "r": 223,
    "g": 208,
    "b": 81
  },
  "hsl": {
    "h": 53.662,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84662,
    "c": 0.14597,
    "h": 102.6
  },
  "luminance": 0.61394
}

Semantic roles & 50–950 ramp

primary
#DFD051
secondary
#37429D
accent
#4FEC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD051

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

Preview Lab → · Contrast checker → · Palette generator →

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