#DFD250#DFD250

#DFD250 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.1% C 0.149 H 103.6°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#DFD250
RGBrgb(223, 210, 80)
HSLhsl(55, 69%, 59%)
HSVhsv(55, 64%, 87%)
CMYKcmyk(0%, 5.8%, 64.1%, 12.5%)
CIE-LABlab(83.11, -10.71, 63.75)
CIE-LCHlch(83.11, 64.64, 99.53°)
OKLaboklab(85.07% -0.0349 0.1444)
OKLCHoklch(85.07% 0.149 103.6)
XYZxyz(54.9281, 62.3624, 16.7317)
Luminance0.6236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD250 #505DDF
analogous
#DF8A50 #DFD250 #A5DF50
triadic
#DFD250 #50DFD2 #D250DF
tetradic
#DFD250 #50DF8A #505DDF #DF50A5
square
#DFD250 #50DF8A #505DDF #DF50A5
split-complementary
#DFD250 #50A5DF #8A50DF
monochromatic
#998D1C #CCBD25 #DFD250 #E8DF84 #F2EDB7

Accessibility & contrast

On white

1.56
#DFD250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#DFD250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD250
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD250#FFFFFF#000000##000000
##DFD2501.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB40
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#EFC4B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dfd250;
/* rgb */ color: rgb(223, 210, 80);
/* oklch */ color: oklch(85.1% 0.149 103.6);
Tailwind
colors: {
  custom: {
    50: '#ecdf87',
    500: '#dfd250',
    950: '#000000',
  },
}
SCSS
$custom: #dfd250;
$custom-light: #ecdf87;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd250",
  "rgb": {
    "r": 223,
    "g": 210,
    "b": 80
  },
  "hsl": {
    "h": 54.545,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85068,
    "c": 0.14851,
    "h": 103.6
  },
  "luminance": 0.6236
}

Semantic roles & 50–950 ramp

primary
#DFD250
secondary
#37409D
accent
#4CEC3C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #DFD250

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

Preview Lab → · Contrast checker → · Palette generator →

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