#DFD950#DFD950

#DFD950 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.5% C 0.155 H 106.8°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#DFD950
RGBrgb(223, 217, 80)
HSLhsl(57, 69%, 59%)
HSVhsv(57, 64%, 87%)
CMYKcmyk(0%, 2.7%, 64.1%, 12.5%)
CIE-LABlab(84.94, -14.21, 65.67)
CIE-LCHlch(84.94, 67.19, 102.21°)
OKLaboklab(86.53% -0.0448 0.1484)
OKLCHoklch(86.53% 0.155 106.8)
XYZxyz(56.6942, 65.8947, 17.3204)
Luminance0.6589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFD950 #5056DF
analogous
#DF9250 #DFD950 #9DDF50
triadic
#DFD950 #50DFD9 #D950DF
tetradic
#DFD950 #50DF92 #5056DF #DF509D
square
#DFD950 #50DF92 #5056DF #DF509D
split-complementary
#DFD950 #509DDF #9250DF
monochromatic
#99931C #CCC525 #DFD950 #E8E484 #F2EFB7

Accessibility & contrast

On white

1.48
#DFD950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#DFD950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFD950
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFD950#FFFFFF#000000##000000
##DFD9501.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13E
Deuteranopia (green-blind)
#EDD759
Tritanopia (blue-blind)
#EECBBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dfd950;
/* rgb */ color: rgb(223, 217, 80);
/* oklch */ color: oklch(86.5% 0.155 106.8);
Tailwind
colors: {
  custom: {
    50: '#ece488',
    500: '#dfd950',
    950: '#000000',
  },
}
SCSS
$custom: #dfd950;
$custom-light: #ece488;
$custom-dark: #000000;
JSON
{
  "hex": "#dfd950",
  "rgb": {
    "r": 223,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 57.483,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.8653,
    "c": 0.15504,
    "h": 106.8
  },
  "luminance": 0.65893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFD950

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

Preview Lab → · Contrast checker → · Palette generator →

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