#DFC04E#DFC04E

#DFC04E is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.4% C 0.136 H 93.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#DFC04E
RGBrgb(223, 192, 78)
HSLhsl(47, 69%, 59%)
HSVhsv(47, 65%, 87%)
CMYKcmyk(0%, 13.9%, 65%, 12.5%)
CIE-LABlab(78.43, -1.62, 59.63)
CIE-LCHlch(78.43, 59.65, 91.56°)
OKLaboklab(81.35% -0.0092 0.1353)
OKLCHoklch(81.35% 0.136 93.9)
XYZxyz(50.6586, 53.9400, 14.9494)
Luminance0.5394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC04E #4E6DDF
analogous
#DF784E #DFC04E #B6DF4E
triadic
#DFC04E #4EDFC0 #C04EDF
tetradic
#DFC04E #4EDF78 #4E6DDF #DF4EB6
square
#DFC04E #4EDF78 #4E6DDF #DF4EB6
split-complementary
#DFC04E #4EB6DF #784EDF
monochromatic
#977D1B #CBA825 #DFC04E #E8D282 #F2E5B6

Accessibility & contrast

On white

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

On black

11.79
#DFC04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC04E
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC04E#FFFFFF#000000##000000
##DFC04E1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc04e;
/* rgb */ color: rgb(223, 192, 78);
/* oklch */ color: oklch(81.4% 0.136 93.9);
Tailwind
colors: {
  custom: {
    50: '#ecd285',
    500: '#dfc04e',
    950: '#000000',
  },
}
SCSS
$custom: #dfc04e;
$custom-light: #ecd285;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc04e",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 47.172,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81354,
    "c": 0.13563,
    "h": 93.9
  },
  "luminance": 0.53937
}

Semantic roles & 50–950 ramp

primary
#DFC04E
secondary
#364C9B
accent
#61EC3C
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC04E

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

Preview Lab → · Contrast checker → · Palette generator →

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