#DFC250#DFC250

#DFC250 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.8% C 0.136 H 94.9°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#DFC250
RGBrgb(223, 194, 80)
HSLhsl(48, 69%, 59%)
HSVhsv(48, 64%, 87%)
CMYKcmyk(0%, 13%, 64.1%, 12.5%)
CIE-LABlab(78.96, -2.54, 59.33)
CIE-LCHlch(78.96, 59.39, 92.45°)
OKLaboklab(81.78% -0.0116 0.135)
OKLCHoklch(81.78% 0.136 94.9)
XYZxyz(51.1736, 54.8533, 15.4802)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC250 #506DDF
analogous
#DF7B50 #DFC250 #B5DF50
triadic
#DFC250 #50DFC2 #C250DF
tetradic
#DFC250 #50DF7B #506DDF #DF50B5
square
#DFC250 #50DF7B #506DDF #DF50B5
split-complementary
#DFC250 #50B5DF #7B50DF
monochromatic
#997F1C #CCAB25 #DFC250 #E8D484 #F2E6B7

Accessibility & contrast

On white

1.75
#DFC250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#DFC250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC250
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC250#FFFFFF#000000##000000
##DFC2501.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE43
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#F0B4AA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dfc250;
/* rgb */ color: rgb(223, 194, 80);
/* oklch */ color: oklch(81.8% 0.136 94.9);
Tailwind
colors: {
  custom: {
    50: '#ecd486',
    500: '#dfc250',
    950: '#000000',
  },
}
SCSS
$custom: #dfc250;
$custom-light: #ecd486;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc250",
  "rgb": {
    "r": 223,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 47.832,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81779,
    "c": 0.1355,
    "h": 94.9
  },
  "luminance": 0.54851
}

Semantic roles & 50–950 ramp

primary
#DFC250
secondary
#374B9D
accent
#60EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC250

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

Preview Lab → · Contrast checker → · Palette generator →

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