#DFC84E#DFC84E

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

Color values

HEX#DFC84E
RGBrgb(223, 200, 78)
HSLhsl(50, 69%, 59%)
HSVhsv(50, 65%, 87%)
CMYKcmyk(0%, 10.3%, 65%, 12.5%)
CIE-LABlab(80.49, -5.74, 61.81)
CIE-LCHlch(80.49, 62.08, 95.31°)
OKLaboklab(82.99% -0.021 0.14)
OKLCHoklch(82.99% 0.142 98.5)
XYZxyz(52.4632, 57.5490, 15.5509)
Luminance0.5755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC84E #4E65DF
analogous
#DF804E #DFC84E #AEDF4E
triadic
#DFC84E #4EDFC8 #C84EDF
tetradic
#DFC84E #4EDF80 #4E65DF #DF4EAE
square
#DFC84E #4EDF80 #4E65DF #DF4EAE
split-complementary
#DFC84E #4EAEDF #804EDF
monochromatic
#97841B #CBB125 #DFC84E #E8D882 #F2E8B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC84E#FFFFFF#000000##000000
##DFC84E1.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)
#DAC33F
Deuteranopia (green-blind)
#E1CB55
Tritanopia (blue-blind)
#F0BAAE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dfc84e;
/* rgb */ color: rgb(223, 200, 78);
/* oklch */ color: oklch(83.0% 0.142 98.5);
Tailwind
colors: {
  custom: {
    50: '#ecd885',
    500: '#dfc84e',
    950: '#000000',
  },
}
SCSS
$custom: #dfc84e;
$custom-light: #ecd885;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc84e",
  "rgb": {
    "r": 223,
    "g": 200,
    "b": 78
  },
  "hsl": {
    "h": 50.483,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82985,
    "c": 0.14152,
    "h": 98.5
  },
  "luminance": 0.57547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC84E

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

Preview Lab → · Contrast checker → · Palette generator →

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