#DFC047#DFC047

#DFC047 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.3% C 0.141 H 94.5°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#DFC047
RGBrgb(223, 192, 71)
HSLhsl(48, 70%, 58%)
HSVhsv(48, 68%, 87%)
CMYKcmyk(0%, 13.9%, 68.2%, 12.5%)
CIE-LABlab(78.37, -2.02, 62.50)
CIE-LCHlch(78.37, 62.53, 91.85°)
OKLaboklab(81.29% -0.0111 0.1403)
OKLCHoklch(81.29% 0.141 94.5)
XYZxyz(50.4209, 53.8449, 13.6973)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC047 #4766DF
analogous
#DF7447 #DFC047 #B2DF47
triadic
#DFC047 #47DFC0 #C047DF
tetradic
#DFC047 #47DF74 #4766DF #DF47B2
square
#DFC047 #47DF74 #4766DF #DF47B2
split-complementary
#DFC047 #47B2DF #7447DF
monochromatic
#927A19 #C6A522 #DFC047 #E8D27B #F1E4AF

Accessibility & contrast

On white

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

On black

11.77
#DFC047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC047
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC047#FFFFFF#000000##000000
##DFC0471.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC37
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#F0B1A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfc047;
/* rgb */ color: rgb(223, 192, 71);
/* oklch */ color: oklch(81.3% 0.141 94.5);
Tailwind
colors: {
  custom: {
    50: '#edd280',
    500: '#dfc047',
    950: '#000000',
  },
}
SCSS
$custom: #dfc047;
$custom-light: #edd280;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc047",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 71
  },
  "hsl": {
    "h": 47.763,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81293,
    "c": 0.14071,
    "h": 94.5
  },
  "luminance": 0.53842
}

Semantic roles & 50–950 ramp

primary
#DFC047
secondary
#334897
accent
#5FED3B
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #DFC047

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

Preview Lab → · Contrast checker → · Palette generator →

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