#DFC052#DFC052

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

Color values

HEX#DFC052
RGBrgb(223, 192, 82)
HSLhsl(47, 69%, 60%)
HSVhsv(47, 63%, 87%)
CMYKcmyk(0%, 13.9%, 63.2%, 12.5%)
CIE-LABlab(78.46, -1.37, 57.93)
CIE-LCHlch(78.46, 57.94, 91.36°)
OKLaboklab(81.39% -0.008 0.1323)
OKLCHoklch(81.39% 0.133 93.5)
XYZxyz(50.8064, 53.9991, 15.7278)
Luminance0.5400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC052 #5271DF
analogous
#DF7A52 #DFC052 #B7DF52
triadic
#DFC052 #52DFC0 #C052DF
tetradic
#DFC052 #52DF7A #5271DF #DF52B7
square
#DFC052 #52DF7A #5271DF #DF52B7
split-complementary
#DFC052 #52B7DF #7A52DF
monochromatic
#9A7E1D #CEA926 #DFC052 #E9D386 #F2E6B9

Accessibility & contrast

On white

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

On black

11.80
#DFC052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC052
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC052#FFFFFF#000000##000000
##DFC0521.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc052;
/* rgb */ color: rgb(223, 192, 82);
/* oklch */ color: oklch(81.4% 0.133 93.5);
Tailwind
colors: {
  custom: {
    50: '#ecd287',
    500: '#dfc052',
    950: '#000000',
  },
}
SCSS
$custom: #dfc052;
$custom-light: #ecd287;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc052",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 82
  },
  "hsl": {
    "h": 46.809,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81393,
    "c": 0.13254,
    "h": 93.5
  },
  "luminance": 0.53996
}

Semantic roles & 50–950 ramp

primary
#DFC052
secondary
#374E9E
accent
#63EC3C
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC052

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

Preview Lab → · Contrast checker → · Palette generator →

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