#DFC05D#DFC05D

#DFC05D is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.5% C 0.123 H 92.1°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#DFC05D
RGBrgb(223, 192, 93)
HSLhsl(46, 67%, 62%)
HSVhsv(46, 58%, 87%)
CMYKcmyk(0%, 13.9%, 58.3%, 12.5%)
CIE-LABlab(78.57, -0.63, 53.05)
CIE-LCHlch(78.57, 53.06, 90.68°)
OKLaboklab(81.51% -0.0045 0.1233)
OKLCHoklch(81.51% 0.123 92.1)
XYZxyz(51.2591, 54.1801, 18.1117)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC05D #5D7CDF
analogous
#DF7F5D #DFC05D #BDDF5D
triadic
#DFC05D #5DDFC0 #C05DDF
tetradic
#DFC05D #5DDF7F #5D7CDF #DF5DBD
square
#DFC05D #5DDF7F #5D7CDF #DF5DBD
split-complementary
#DFC05D #5DBDDF #7F5DDF
monochromatic
#A28320 #D5AC2A #DFC05D #E9D490 #F3E8C3

Accessibility & contrast

On white

1.77
#DFC05D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#DFC05D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC05D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC05D#FFFFFF#000000##000000
##DFC05D1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD53
Deuteranopia (green-blind)
#DAC661
Tritanopia (blue-blind)
#EFB3AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfc05d;
/* rgb */ color: rgb(223, 192, 93);
/* oklch */ color: oklch(81.5% 0.123 92.1);
Tailwind
colors: {
  custom: {
    50: '#ecd28e',
    500: '#dfc05d',
    950: '#000000',
  },
}
SCSS
$custom: #dfc05d;
$custom-light: #ecd28e;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc05d",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 93
  },
  "hsl": {
    "h": 45.692,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8151,
    "c": 0.12339,
    "h": 92.1
  },
  "luminance": 0.54178
}

Semantic roles & 50–950 ramp

primary
#DFC05D
secondary
#3C55A5
accent
#43CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC05D

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

Preview Lab → · Contrast checker → · Palette generator →

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