#DFC04C#DFC04C

#DFC04C is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.3% C 0.137 H 94.1°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#DFC04C
RGBrgb(223, 192, 76)
HSLhsl(47, 70%, 59%)
HSVhsv(47, 66%, 87%)
CMYKcmyk(0%, 13.9%, 65.9%, 12.5%)
CIE-LABlab(78.41, -1.74, 60.46)
CIE-LCHlch(78.41, 60.49, 91.65°)
OKLaboklab(81.34% -0.0098 0.1368)
OKLCHoklch(81.34% 0.137 94.1)
XYZxyz(50.5880, 53.9117, 14.5775)
Luminance0.5391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC04C #4C6BDF
analogous
#DF764C #DFC04C #B4DF4C
triadic
#DFC04C #4CDFC0 #C04CDF
tetradic
#DFC04C #4CDF76 #4C6BDF #DF4CB4
square
#DFC04C #4CDF76 #4C6BDF #DF4CB4
split-complementary
#DFC04C #4CB4DF #764CDF
monochromatic
#967C1B #CAA724 #DFC04C #E8D280 #F2E5B4

Accessibility & contrast

On white

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

On black

11.78
#DFC04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC04C
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC04C#FFFFFF#000000##000000
##DFC04C1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfc04c;
/* rgb */ color: rgb(223, 192, 76);
/* oklch */ color: oklch(81.3% 0.137 94.1);
Tailwind
colors: {
  custom: {
    50: '#edd283',
    500: '#dfc04c',
    950: '#000000',
  },
}
SCSS
$custom: #dfc04c;
$custom-light: #edd283;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc04c",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 76
  },
  "hsl": {
    "h": 47.347,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81336,
    "c": 0.13713,
    "h": 94.1
  },
  "luminance": 0.53909
}

Semantic roles & 50–950 ramp

primary
#DFC04C
secondary
#354A9A
accent
#61EC3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC04C

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

Preview Lab → · Contrast checker → · Palette generator →

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