#DFC054#DFC054

#DFC054 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.4% C 0.131 H 93.2°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#DFC054
RGBrgb(223, 192, 84)
HSLhsl(47, 68%, 60%)
HSVhsv(47, 62%, 87%)
CMYKcmyk(0%, 13.9%, 62.3%, 12.5%)
CIE-LABlab(78.48, -1.25, 57.06)
CIE-LCHlch(78.48, 57.07, 91.25°)
OKLaboklab(81.41% -0.0074 0.1307)
OKLCHoklch(81.41% 0.131 93.2)
XYZxyz(50.8836, 54.0300, 16.1344)
Luminance0.5403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFC054 #5473DF
analogous
#DF7B54 #DFC054 #B8DF54
triadic
#DFC054 #54DFC0 #C054DF
tetradic
#DFC054 #54DF7B #5473DF #DF54B8
square
#DFC054 #54DF7B #5473DF #DF54B8
split-complementary
#DFC054 #54B8DF #7B54DF
monochromatic
#9C7F1D #CFAA27 #DFC054 #E9D388 #F2E6BB

Accessibility & contrast

On white

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

On black

11.81
#DFC054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFC054
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFC054#FFFFFF#000000##000000
##DFC0541.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD48
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#F0B2A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #dfc054;
/* rgb */ color: rgb(223, 192, 84);
/* oklch */ color: oklch(81.4% 0.131 93.2);
Tailwind
colors: {
  custom: {
    50: '#ecd288',
    500: '#dfc054',
    950: '#000000',
  },
}
SCSS
$custom: #dfc054;
$custom-light: #ecd288;
$custom-dark: #000000;
JSON
{
  "hex": "#dfc054",
  "rgb": {
    "r": 223,
    "g": 192,
    "b": 84
  },
  "hsl": {
    "h": 46.619,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81413,
    "c": 0.13095,
    "h": 93.2
  },
  "luminance": 0.54027
}

Semantic roles & 50–950 ramp

primary
#DFC054
secondary
#384F9F
accent
#3FD015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #DFC054

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

Preview Lab → · Contrast checker → · Palette generator →

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