#DFC05F#DFC05F

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

Color values

HEX#DFC05F
RGBrgb(223, 192, 95)
HSLhsl(45, 67%, 62%)
HSVhsv(45, 57%, 87%)
CMYKcmyk(0%, 13.9%, 57.4%, 12.5%)
CIE-LABlab(78.59, -0.48, 52.14)
CIE-LCHlch(78.59, 52.14, 90.53°)
OKLaboklab(81.53% -0.0039 0.1216)
OKLCHoklch(81.53% 0.122 91.8)
XYZxyz(51.3488, 54.2160, 18.5843)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC05F #5F7EDF
analogous
#DF805F #DFC05F #BEDF5F
triadic
#DFC05F #5FDFC0 #C05FDF
tetradic
#DFC05F #5FDF80 #5F7EDF #DF5FBE
square
#DFC05F #5FDF80 #5F7EDF #DF5FBE
split-complementary
#DFC05F #5FBEDF #805FDF
monochromatic
#A38321 #D5AC2C #DFC05F #E9D492 #F3E8C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC05F#FFFFFF#000000##000000
##DFC05F1.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)
#D2BD56
Deuteranopia (green-blind)
#DAC663
Tritanopia (blue-blind)
#EFB3AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfc05f;
/* rgb */ color: rgb(223, 192, 95);
/* oklch */ color: oklch(81.5% 0.122 91.8);
Tailwind
colors: {
  custom: {
    50: '#ecd28f',
    500: '#dfc05f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc05f;
$custom-light: #ecd28f;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc05f",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 95
  },
  "hsl": {
    "h": 45.469,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.81533,
    "c": 0.12164,
    "h": 91.8
  },
  "luminance": 0.54213
}

Semantic roles & 50–950 ramp

primary
#DFC05F
secondary
#3C56A6
accent
#43CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #DFC05F

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

Preview Lab → · Contrast checker → · Palette generator →

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