#DFC84F#DFC84F

#DFC84F is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.0% C 0.141 H 98.5°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#DFC84F
RGBrgb(223, 200, 79)
HSLhsl(50, 69%, 59%)
HSVhsv(50, 65%, 87%)
CMYKcmyk(0%, 10.3%, 64.6%, 12.5%)
CIE-LABlab(80.50, -5.69, 61.40)
CIE-LCHlch(80.50, 61.67, 95.29°)
OKLaboklab(82.99% -0.0207 0.1392)
OKLCHoklch(82.99% 0.141 98.5)
XYZxyz(52.4993, 57.5635, 15.7411)
Luminance0.5756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC84F #4F66DF
analogous
#DF804F #DFC84F #AEDF4F
triadic
#DFC84F #4FDFC8 #C84FDF
tetradic
#DFC84F #4FDF80 #4F66DF #DF4FAE
square
#DFC84F #4FDF80 #4F66DF #DF4FAE
split-complementary
#DFC84F #4FAEDF #804FDF
monochromatic
#98841C #CCB125 #DFC84F #E8D883 #F2E8B7

Accessibility & contrast

On white

1.68
#DFC84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#DFC84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC84F
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC84F#FFFFFF#000000##000000
##DFC84F1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#E1CB55
Tritanopia (blue-blind)
#F0BAAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc84f;
/* rgb */ color: rgb(223, 200, 79);
/* oklch */ color: oklch(83.0% 0.141 98.5);
Tailwind
colors: {
  custom: {
    50: '#ecd886',
    500: '#dfc84f',
    950: '#000000',
  },
}
SCSS
$custom: #dfc84f;
$custom-light: #ecd886;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc84f",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 50.417,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82994,
    "c": 0.14077,
    "h": 98.5
  },
  "luminance": 0.57561
}

Semantic roles & 50–950 ramp

primary
#DFC84F
secondary
#36469C
accent
#58EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC84F

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

Preview Lab → · Contrast checker → · Palette generator →

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