#DFC04D#DFC04D

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

Color values

HEX#DFC04D
RGBrgb(223, 192, 77)
HSLhsl(47, 70%, 59%)
HSVhsv(47, 65%, 87%)
CMYKcmyk(0%, 13.9%, 65.5%, 12.5%)
CIE-LABlab(78.42, -1.68, 60.05)
CIE-LCHlch(78.42, 60.07, 91.60°)
OKLaboklab(81.35% -0.0095 0.1361)
OKLCHoklch(81.35% 0.136 94)
XYZxyz(50.6231, 53.9257, 14.7620)
Luminance0.5392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC04D #4D6CDF
analogous
#DF774D #DFC04D #B5DF4D
triadic
#DFC04D #4DDFC0 #C04DDF
tetradic
#DFC04D #4DDF77 #4D6CDF #DF4DB5
square
#DFC04D #4DDF77 #4D6CDF #DF4DB5
split-complementary
#DFC04D #4DB5DF #774DDF
monochromatic
#977C1B #CAA724 #DFC04D #E8D281 #F2E5B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC04D#FFFFFF#000000##000000
##DFC04D1.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)
#D3BD3F
Deuteranopia (green-blind)
#DBC653
Tritanopia (blue-blind)
#F0B2A8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfc04d;
/* rgb */ color: rgb(223, 192, 77);
/* oklch */ color: oklch(81.3% 0.136 94.0);
Tailwind
colors: {
  custom: {
    50: '#edd284',
    500: '#dfc04d',
    950: '#000000',
  },
}
SCSS
$custom: #dfc04d;
$custom-light: #edd284;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc04d",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 47.26,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.81345,
    "c": 0.13638,
    "h": 94
  },
  "luminance": 0.53923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC04D

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

Preview Lab → · Contrast checker → · Palette generator →

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