#DFC050#DFC050

#DFC050 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.134 H 93.7°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#DFC050
RGBrgb(223, 192, 80)
HSLhsl(47, 69%, 59%)
HSVhsv(47, 64%, 87%)
CMYKcmyk(0%, 13.9%, 64.1%, 12.5%)
CIE-LABlab(78.44, -1.50, 58.78)
CIE-LCHlch(78.44, 58.80, 91.46°)
OKLaboklab(81.37% -0.0086 0.1338)
OKLCHoklch(81.37% 0.134 93.7)
XYZxyz(50.7314, 53.9691, 15.3328)
Luminance0.5397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC050 #506FDF
analogous
#DF7950 #DFC050 #B7DF50
triadic
#DFC050 #50DFC0 #C050DF
tetradic
#DFC050 #50DF79 #506FDF #DF50B7
square
#DFC050 #50DF79 #506FDF #DF50B7
split-complementary
#DFC050 #50B7DF #7950DF
monochromatic
#997E1C #CCA825 #DFC050 #E8D384 #F2E5B7

Accessibility & contrast

On white

1.78
#DFC050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#DFC050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC050
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC050#FFFFFF#000000##000000
##DFC0501.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD43
Deuteranopia (green-blind)
#DBC655
Tritanopia (blue-blind)
#F0B2A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfc050;
/* rgb */ color: rgb(223, 192, 80);
/* oklch */ color: oklch(81.4% 0.134 93.7);
Tailwind
colors: {
  custom: {
    50: '#ecd286',
    500: '#dfc050',
    950: '#000000',
  },
}
SCSS
$custom: #dfc050;
$custom-light: #ecd286;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc050",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 80
  },
  "hsl": {
    "h": 46.993,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81373,
    "c": 0.13411,
    "h": 93.7
  },
  "luminance": 0.53966
}

Semantic roles & 50–950 ramp

primary
#DFC050
secondary
#374D9D
accent
#62EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC050

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

Preview Lab → · Contrast checker → · Palette generator →

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