#DFD451#DFD451

#DFD451 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.5% C 0.150 H 104.5°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#DFD451
RGBrgb(223, 212, 81)
HSLhsl(55, 69%, 60%)
HSVhsv(55, 64%, 87%)
CMYKcmyk(0%, 4.9%, 63.7%, 12.5%)
CIE-LABlab(83.64, -11.65, 63.90)
CIE-LCHlch(83.64, 64.95, 100.33°)
OKLaboklab(85.49% -0.0375 0.1448)
OKLCHoklch(85.49% 0.15 104.5)
XYZxyz(55.4622, 63.3710, 17.0933)
Luminance0.6337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD451 #515CDF
analogous
#DF8D51 #DFD451 #A3DF51
triadic
#DFD451 #51DFD4 #D451DF
tetradic
#DFD451 #51DF8D #515CDF #DF51A3
square
#DFD451 #51DF8D #515CDF #DF51A3
split-complementary
#DFD451 #51A3DF #8D51DF
monochromatic
#99901C #CDC026 #DFD451 #E9E185 #F2EEB8

Accessibility & contrast

On white

1.54
#DFD451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#DFD451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD451
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD451#FFFFFF#000000##000000
##DFD4511.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD40
Deuteranopia (green-blind)
#EAD359
Tritanopia (blue-blind)
#EFC6B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #dfd451;
/* rgb */ color: rgb(223, 212, 81);
/* oklch */ color: oklch(85.5% 0.150 104.5);
Tailwind
colors: {
  custom: {
    50: '#ece088',
    500: '#dfd451',
    950: '#000000',
  },
}
SCSS
$custom: #dfd451;
$custom-light: #ece088;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd451",
  "rgb": {
    "r": 223,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 55.352,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85494,
    "c": 0.14958,
    "h": 104.5
  },
  "luminance": 0.63369
}

Semantic roles & 50–950 ramp

primary
#DFD451
secondary
#373F9D
accent
#4AEC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD451

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

Preview Lab → · Contrast checker → · Palette generator →

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