#DFC046#DFC046

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

Color values

HEX#DFC046
RGBrgb(223, 192, 70)
HSLhsl(48, 71%, 57%)
HSVhsv(48, 69%, 87%)
CMYKcmyk(0%, 13.9%, 68.6%, 12.5%)
CIE-LABlab(78.36, -2.07, 62.89)
CIE-LCHlch(78.36, 62.93, 91.88°)
OKLaboklab(81.28% -0.0114 0.1409)
OKLCHoklch(81.28% 0.141 94.6)
XYZxyz(50.3891, 53.8322, 13.5297)
Luminance0.5383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC046 #4665DF
analogous
#DF7346 #DFC046 #B2DF46
triadic
#DFC046 #46DFC0 #C046DF
tetradic
#DFC046 #46DF73 #4665DF #DF46B2
square
#DFC046 #46DF73 #4665DF #DF46B2
split-complementary
#DFC046 #46B2DF #7346DF
monochromatic
#917919 #C6A522 #DFC046 #E8D27A #F1E4AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFC046#FFFFFF#000000##000000
##DFC0461.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)
#D3BC35
Deuteranopia (green-blind)
#DBC64D
Tritanopia (blue-blind)
#F0B1A7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfc046;
/* rgb */ color: rgb(223, 192, 70);
/* oklch */ color: oklch(81.3% 0.141 94.6);
Tailwind
colors: {
  custom: {
    50: '#edd280',
    500: '#dfc046',
    950: '#000000',
  },
}
SCSS
$custom: #dfc046;
$custom-light: #edd280;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc046",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 47.843,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81284,
    "c": 0.1414,
    "h": 94.6
  },
  "luminance": 0.53829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFC046

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

Preview Lab → · Contrast checker → · Palette generator →

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