#DFBD54#DFBD54

#DFBD54 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.8% C 0.129 H 91.3°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#DFBD54
RGBrgb(223, 189, 84)
HSLhsl(45, 68%, 60%)
HSVhsv(45, 62%, 87%)
CMYKcmyk(0%, 15.2%, 62.3%, 12.5%)
CIE-LABlab(77.71, 0.31, 56.22)
CIE-LCHlch(77.71, 56.22, 89.68°)
OKLaboklab(80.81% -0.0029 0.1289)
OKLCHoklch(80.81% 0.129 91.3)
XYZxyz(50.2316, 52.7260, 15.9171)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFBD54 #5476DF
analogous
#DF7854 #DFBD54 #BBDF54
triadic
#DFBD54 #54DFBD #BD54DF
tetradic
#DFBD54 #54DF78 #5476DF #DF54BB
square
#DFBD54 #54DF78 #5476DF #DF54BB
split-complementary
#DFBD54 #54BBDF #7854DF
monochromatic
#9C7D1D #CFA627 #DFBD54 #E9D188 #F2E5BB

Accessibility & contrast

On white

1.82
#DFBD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#DFBD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFBD54
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFBD54#FFFFFF#000000##000000
##DFBD541.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA49
Deuteranopia (green-blind)
#D8C459
Tritanopia (blue-blind)
#F0AFA6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dfbd54;
/* rgb */ color: rgb(223, 189, 84);
/* oklch */ color: oklch(80.8% 0.129 91.3);
Tailwind
colors: {
  custom: {
    50: '#ecd088',
    500: '#dfbd54',
    950: '#000000',
  },
}
SCSS
$custom: #dfbd54;
$custom-light: #ecd088;
$custom-dark: #000000;
JSON
{
  "hex": "#dfbd54",
  "rgb": {
    "r": 223,
    "g": 189,
    "b": 84
  },
  "hsl": {
    "h": 45.324,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80808,
    "c": 0.12897,
    "h": 91.3
  },
  "luminance": 0.52723
}

Semantic roles & 50–950 ramp

primary
#DFBD54
secondary
#38519F
accent
#43D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17130C
muted
#85837F

Preview Lab

Preview with #DFBD54

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

Preview Lab → · Contrast checker → · Palette generator →

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